20-02-2026, 01:55 PM
Hey @[b][b]josemendez [/b][/b]!
I think the issue in my case is that im updating the terrain as well as any other objects that are of the layer "Ground" in runtime and its happening before the next simulation cycle or in between making the heightfield null or inaccurate. The error seems to be pointing at heightFieldHeaders in the GenerateHeightFieldContactsJob. I tested with keeping the synchronisation to synchronous, that didnt do anything to the errors I was getting either.
To reiterate, the simulation and the collision is accurate in cpu compute mode but does not work in build.
In gpu compute mode it doesnt work in the editor nor in build.
Any leads on how this can be fixed would be great!
I think the issue in my case is that im updating the terrain as well as any other objects that are of the layer "Ground" in runtime and its happening before the next simulation cycle or in between making the heightfield null or inaccurate. The error seems to be pointing at heightFieldHeaders in the GenerateHeightFieldContactsJob. I tested with keeping the synchronisation to synchronous, that didnt do anything to the errors I was getting either.
To reiterate, the simulation and the collision is accurate in cpu compute mode but does not work in build.
In gpu compute mode it doesnt work in the editor nor in build.
Any leads on how this can be fixed would be great!
