Hello im getting a null reference exception in build but not in editor why is this happening I have made some public variables like| public GameObject test; |and then in the inspector I have linked then up and have not left them blank. The game works in the editor and does everything it needs to do but when I build to anything like pc and android they both give a null reference exception. How can I fix this issue?
↧