C++ Change Value Actor Reference from another c++ actor reference , value change, object in level no, Why?

Hi,

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?

Please provide pictures of your c++ code and blueprint nodes so we can understand what’s going on…