Certain combination of screen size produces segfault and more random memory-related errors
curioustorvald opened this issue · 1 comments
curioustorvald commented
Step to reproduce: just launch the game with a screen size of 1280x720
My experiment reveals that the problem lies within the UnsafePtr, as disabling any write/read from that class "solves" the issue
curioustorvald commented
The culprit was the Out-of-Bounds accessing of UnsafeCvecArray caused by the lightmap renderer. Fixed it by making UnsafeCvecArray have extra room on its internal memory