How do I setup ReflectionProbes at runtime?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By TitanNano

My terrain is being built when loading the scene, so I’m also setting up my reflection probes after generating the terrain, but I’m not able to get them to work.

I tried both adding probes after generating the scene, and adding probes in the editor and then moving and resizing them later. I think they are not being updated by the engine, or they are updated before the engine is done with processing my terrain mesh and new object nodes (I’m not sure if such a thing is possible).

If I set a probe to “UPDATE_ALWAYS” via the editor at runtime, that particular probe starts working… Even when I set it back to “UPDATE_ONCE”. So I also tried setting probes to “UPDATE _ALWAYS”, yielding for two or three frames and then setting them back to “UPDATE_ONCE”. But without any success so far…