[2.1.14] Scrollbar of the surfaces interface resets when a platform changes state and a hidden platform exists
Posted: Sat Aug 15, 2026 3:43 pm
I'm creating a mod that contains platforms with hidden = true.
During a playthrough of that mod I've created enough platforms so that a scrollbar is added to the surfaces overview.
I noticed sometimes when scrolling that that scrollbar jumps back to the current platform/surface you're currently remote viewing.
After some debugging I was able to reliably reproduce it. This happens when:
There is at least one platform that is hidden (not sure if it needs to be of the same force).
Any platform changes state (I think it's the general on_space_platform_changed_state, I have seen it happen when new platforms are built as well).
As a test I have created a platform that flies for 1 second towards the shattered planet and back to the edge repeatedly. So a platform changed state happens every second.
Bonus bug, probably related: You are not able to scroll at all or even switch surfaces through the remote view surface interface when a "on_space_platform_changed_state" happens every tick. For example when you remove the "1s passed" fly condition in the video so it continuously flies for 1 tick to the shattered planet and then back to the edge.
During a playthrough of that mod I've created enough platforms so that a scrollbar is added to the surfaces overview.
I noticed sometimes when scrolling that that scrollbar jumps back to the current platform/surface you're currently remote viewing.
After some debugging I was able to reliably reproduce it. This happens when:
There is at least one platform that is hidden (not sure if it needs to be of the same force).
Any platform changes state (I think it's the general on_space_platform_changed_state, I have seen it happen when new platforms are built as well).
As a test I have created a platform that flies for 1 second towards the shattered planet and back to the edge repeatedly. So a platform changed state happens every second.
Bonus bug, probably related: You are not able to scroll at all or even switch surfaces through the remote view surface interface when a "on_space_platform_changed_state" happens every tick. For example when you remove the "1s passed" fly condition in the video so it continuously flies for 1 tick to the shattered planet and then back to the edge.