ConstructorHelpers::FObjectFinder isn't getting my material parameter collection
I'm not sure what is wrong with it but it seems to not be setting it to my variable. From the look of my code and its output it finds the object but doesn't set it to the variable. Here's a picture of the code: https://cdn.pbrd.co/images/HLtfjQK.png and this is a picture of what it outputs: https://cdn.pbrd.co/images/HLteUxu.png
If anyone can workout why this isn't working could you explain to me?
asked Nov 03 '18 at 06:43 PM in C++ Programming
It looks like you have a scoping problem when assigning your variable.
You declare matParam at a class variable but you re-declare it in your constructor with this line:
This assigns that local version of the variable, but leaves the class variable un-assigned. You need to change things from
answered Nov 05 '18 at 08:40 PMBrian Johnstone (suspended)
Follow this question
Once you sign in you will be able to subscribe for any updates here