Hello
My game crashes immediately when exported in “normal build”, not in “development build”
I’ve looked in the log, and I see this error
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFFEC24331B)
0x00007FFFEC24331B (UnityPlayer) (function-name not available)
0x00007FFFECB6ACE0 (UnityPlayer) UnityMain
0x00007FFFECB6E0F2 (UnityPlayer) UnityMain
0x00007FFFECB6E1E1 (UnityPlayer) UnityMain
I’ve tried to look at the dump file through WinDbg, but I cannot see anything that looks related to my code
I’m at a complete lost on what to do to identify the error. Any help would be really appreciated!
I’ve been having this issue for a month, updating Unity and packages didn’t resolve it.
Find attached the log with the dump
EDIT:
I managed to nail down the code line that breaks everything.
meshFilter.sharedMesh = new Mesh();
When I separated the creation of the mesh and its assignment to sharedMesh, it seems that the assignment was the culprit.