Page MenuHomeFeedback Tracker

SetSimpleHiddenSelectionState() can cause server instability
Assigned, UrgentPublic

Description

If the SimpleHiddenSelection does not exist, and this function is called, it can immediately crash, or sometimes freeze (brick the server to 0 fps). This is a known issue amongst some mod developers, and a plethora of mods use this function, some of which are very popular. I have never personally reproduced this issue, however I can say for certain from experience and past mistakes, that it 100% happens.

Incase any modders are reading this I highly recommend using SetObjectTexture() instead as it basically accomplishes the same thing.

Details

Severity
Crash
Resolution
Open
Reproducibility
Have Not Tried
Operating System
Windows 10
Category
General
Steps To Reproduce

Call SetSimpleHiddenSelectionState() and input a non existent SimpleHiddenSelection as the parameter.
Server will crash or brick

Event Timeline

Geez changed the task status from New to Assigned.May 25 2023, 10:46 AM