Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Getting a null reference exception in build but not in editor

$
0
0
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?

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>