Amerio.Stephane Posted December 17, 2025 Posted December 17, 2025 (edited) Hello, We use an AutomaticTimeLightingComponent in our celestial node to control the visibility at day and night of nodes with LightSourceComponent (enabling selectively a night node, or a day node). Previously (2.16), this was enough to sync their state to slaves. In 2.20, this no longer works as simply, and the day/night enabled state is not syncked to slaves. An easy workaround is to manually add an AddSyncNode component, but it feels like a regression. Edited December 17, 2025 by Amerio.Stephane
cash-metall Posted December 18, 2025 Posted December 18, 2025 Hello! can you explain in more details your settings of AutomaticTimeLightingComponent ? I have tested it in 2.20 and everything works fine. here my setup: two plane red with LightSourceComponent category "test/red" and green with LightSourceComponent categort "test/green" in AutomaticTimeLightingComponent we have "test/red" for day, and "test/green" for night when i change time - plane changes for master and slave the same way. What did I miss?
Amerio.Stephane Posted December 18, 2025 Author Posted December 18, 2025 Hum, really strange. Indeed it works in a new world. Checked again in our world, and it, hum, kinda "worked" too. In one run, the slave day/night was the opposite of the master day/night (master day node enabled -> slave night node enabled, etc). Just got this once. I'll do more tests...
Amerio.Stephane Posted December 18, 2025 Author Posted December 18, 2025 Okay tried again, and it works and doesn't work at the same time, wtf Here is a very basic scene, where a white cube is marked as day, and a light is marked as night: master on left, slave on right, datetime 10 => ok, cube visible on both, light hidden on both Now datetime 1 => KO, cube hidden on both (cool), but light only visible on master (not cool) Only plugin loaded is UnigineIG Here is attached the relevant data: light_test_scene.zip
cash-metall Posted December 19, 2025 Posted December 19, 2025 I finally reproduced the issue and fixed it. It was linked with async Node loading somehow. So i change way of initialization LightController. This will be available with the next update. but in the meantime, you can add the AddSynсNode component to the nodes. Thanks for you time and feedback! 1
Recommended Posts