Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Unity crashes when GetComponent()

$
0
0
Hi All! I have broken my brain to resolve the problem why "Unity Editor has stopped working". An exception appears while GetComponent<>() is called with the wrong type, for example via Expression Evaluating. I attached gif file with my actions to reproduce a problem. Could you help me, please? What's wrong with it.
Unity 2018.1.0f2
windows 10
visual studio 15.7.1
https://drive.google.com/open?id=1eoPSg2VYuaw6QRUx1n8_NVxekUW2rqxi
![alt text][1] [1]: /storage/temp/116764-111-198.png

Viewing all articles
Browse latest Browse all 2383

Trending Articles



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