I modify the value of an object of a BluePrint through another BluePrint, the value of the variable in the blueprint changes but the object in the level doesn't, why?


Hello, I’m trying to modify an actor in the scene and I created a function adding, for example, a SpotLight and a float variable, taking the object’s reference and setting the intensity… When I create the blueprint of my c++ and put it in the level, modifying the parameter float I can change the light intensity on the level…

Now I created another c++ file of type actor also taking the reference of this first actor, and creating another parameter of type float modifying the float of the first actor and not the intensity of Spot Light, all in construction script… It shouldn’t change automatically the light intensity of the first object?