#Wierd Burst exception while building project.

1 messages · Page 1 of 1 (latest)

vivid jungle
#

I'm trying to build my project, and suddenly it is not working properly. I used to be able to build it, but now I am getting an exception.
I am using ECS Character Controller.

Library\Bee\artifacts\WinPlayerBuildProgram\AsyncPluginsFromLinker: (0,0): Burst error BC0102: Unexpected internal compiler error while processing function `IL_0106: ldfld Unity.Entities.Entity OrbitCamera::ActiveCameraTarget args(IL_0105(ldarg.3))`: System.NullReferenceException: UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

I thought that it was some cache problem, so I deleted my Library, Obj and Temp folders. It did not help. I have no idea what is wrong.

vivid jungle
#

A strange thing is that executable is created but it is not working properly, my procedural meshes are not rendered but MeshCollider is working I can run on its surface.

#

And, of course, in the Unity Editor, everything is fine.

#

I have tried development build and it points out to specific place in OrbitCameraJob

Library\Bee\artifacts\WinPlayerBuildProgram\AsyncPluginsFromLinker: \Assets\Scripts\CharacterControler\Camera\OrbitCameraSystem.cs(139,21): Burst error BC0102: Unexpected internal compiler error while processing function `IL_0116: ldfld Unity.Entities.Entity OrbitCamera::ActiveCameraTarget args(IL_0115(ldarg.3))`: System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

I have tried to comment it out, but the error just moved to a different spot in this job.
For now I have removed Burst compiler attribute from OrbitCameraJob as it is not that important for me right now, and it does the trick. But I would prefer to know what is wrong.

mental robin
#

Without seeing the job we can't say much about what file be triggering it

vivid jungle