Blueprint Bugs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
<P> | <P> | ||
TObjectPtr<UCP_HelperFunctions> CP_HF; This causes the error | TObjectPtr<UCP_HelperFunctions> CP_HF;<br> This causes the error | ||
<P> | <P> | ||
UCP_HelperFunctions* CP_HF | UCP_HelperFunctions* CP_HF<br> Use The Object pointer directly like above and not TObectPTr | ||
Fix 2: I also had this issue when I added a parameter to one of my functions, I had to clean the build, rebuild all<br> | |||
close the editor and start than the issues was fixed | |||
</blockquote> | </blockquote> |
Latest revision as of 19:46, 12 March 2025
- Cannot find corresponding variable (make sure component has been assigned to one)
This can happen when you try to drag a component that was declared in c++ into the graph of blueprints
TObjectPtr<UCP_HelperFunctions> CP_HF;
This causes the errorUCP_HelperFunctions* CP_HF
Use The Object pointer directly like above and not TObectPTr Fix 2: I also had this issue when I added a parameter to one of my functions, I had to clean the build, rebuild all
close the editor and start than the issues was fixed