Bug: Exponential Locker Spawn Causes Frame Drops and Crashes
Bug #272
Exponential Locker Spawn Causes Frame Drops and Crashes
| Status: | Open |
| Priority: |
Critical |
| Added by: |
|
| Assigned to: |
Unassigned
|
| Due date: | |
| Reported for: |
Steps to Reproduce
- Load a Horizon Locker instance (i.e. drive until you find a POI that has one)
- Drive away from the Locker until the chunk it's on unloads
- Turn around and return to the Locker, reloading the chunk. At this point, frames will have dropped, but game is still playable.
- To view the additional loaded lockers, open any locker door. For a screened locker with 3 sub-lockers, you should have to open 9 doors before being able to actually see into the locker. (Note: 28 lockers total are loaded; one primary and 3^3 = 27 secondaries)
- To observe major performance issues, repeat steps 2 and 3. This time, there are 244 lockers (1 + 3^5=243).
Explanation
Lockers load exponential copies when unloading and re-loading an area, leading to frame issues and eventual crashing. Based on the number of instances loaded, I believe that each locker column is being treated as a primary copy (a locker with the screen), which causes the same number of secondary lockers (without the screen) to be spawned when both loaded and unloaded (instead of being destroyed on unload). The total number of lockers spawned is 1 + 3^x, where x is the number of load plus unload events the locker has been a part of.
Watchers
Screenshots
None
Video Clips
None
Log Files
None
Device
No device information