DynamicGI.UpdateEnvironment()

Some of my emissive materials (meshes with emissive material on them) are not lighting the scene at runtime. If I adjust the emissivity value, they suddenly come to life and light the scene. I tried to attach a script to them to force them, but it’s not having any effect.

How do I use DynamicGI.UpdateEnvironment() or DynamicGI.UpdateMaterials(renderer)? It seems like I could force an update, but they don’t seem to have any effect. Can someone provide me an example of when and how to use these? Thanks.

Are you setting MaterialGlobalIlluminationFlags.RealtimeEmissive? The emissive lighting will only affect realtime Global Illumination if it is set.The flags are mutually exclusive so if you are using realtime Emissive lighting, you must remove the EmissiveIsBlack flag from the material.
UpdateEnvironment updates the lighting from the skybox. UpdateMaterials(renderer) updates the renderer by rerendering albedo and emissive using the meta pass shader.