cjbruce
I'm not sure what you mean, its unclear. Even if it's in the debugger it might not exist in the same scene, but there are too many factors for me to understand whats going wrong. Send me a Capx that demonstrates the problem.
The bug went like this:
I had two raytracers. One raytracer looked down to see the floor normal. The other raytracer was used for a laser weapon. When I loaded directly to my in-game screen, both raytracers worked. When I loaded from the start screen, then used the "go to layout" to go to the game layout, neither raytracer would raytrace. They both existed with UIDs in the inspector, but they simply would not work.
It looks like the bugs might have been related to one of two things:
1. I was using two different raytracer objects.
2. I had marked the raytracer objects as global.
In the process of troubleshooting, I set both object's "global" property to "no". Then I added one of the raytracers to a container with a 3D game model. Finally, I refactored the event sheet so that all raytracing was done by just one of the raytracers, and deleted the unused raytracer.
After all of this, the problem of raytracers not raytracing when a new layout was loaded went away.