Quantcast
Channel: Questions in topic: "skinned mesh renderer"
Viewing all articles
Browse latest Browse all 192

Unity auto unassigned skinned mesh render variables on Play

$
0
0
Hi, I have a variable "skinnedMeshRenderer", and I clicked the circle on this variable in the inspector of the object with the script,. When ever I click the play button the skinned mesh renderer from the slot just switches to none and unassigns itself, I can reassign them (still in play mode) and then they stay but only for that session. When I stop the game and then click play again (to reset the scene) they unassign again. For right now it isn't a big deal, just a little annoying, but whenever I build the game this issue will be unfixable. Please let me know how to fix this, or if there is a line of code similar to GameObject.Find, I already tried and looked for SkinnedMeshRenderer.Find("");, but that doesn't work, thanks.

Viewing all articles
Browse latest Browse all 192

Trending Articles



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