_selectedTrigger in TriggerWindowManager is not cleared when the triggers are reloaded, so the pointer outlives the actual object being pointed to. This is sort of a problem with it being a pointer - Item doesn't have this problem.
Repro Steps
- Open a level
- Select a trigger
- Open a new level
- Open a triggers window
- Sometimes it will crash
Selected trigger needs to be cleared whenever the triggers list is set.
_selectedTriggerinTriggerWindowManageris not cleared when the triggers are reloaded, so the pointer outlives the actual object being pointed to. This is sort of a problem with it being a pointer -Itemdoesn't have this problem.Repro Steps
Selected trigger needs to be cleared whenever the triggers list is set.