Blueprint Bugs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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 and not TObectPTr | ||
</blockquote> | </blockquote> |
Revision as of 00:54, 25 February 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 and not TObectPTr