- Home /
Blender model Glitch
Hello, I imported a sniper rifle model into unity from blender. I set it up in the main camera and it looks good, but once I press the play button, the barrel and the scope show up in the wrong positions and are pretty much detached from the rest of the gun. I'm also getting a message from the console saying "A prefab somehow lost its way out of its asset file. Ignoring it. Save your scene and next time you launch the editor it will be gone." That shows up every time I play the game. I have another weapon in my game and it looks fine, so I don't understand why this one is messing up. Thanks so much for the help!
Answer by kag359six · Aug 01, 2012 at 11:23 PM
Maybe you should try attaching the barrel and scope to the sniper, as I don't see why it would need to be seperate. In Blender make them all one object. Makes for fewer draw calls to Unity as well i think. And it should solve your detachment issue.
Answer by wadawalnut · Aug 02, 2012 at 09:57 PM
I found out what the problem really is, the "Cylinder" part of the gun, which includes the barrel and the scope, rotates 180 degrees along unity's y-axis during gameplay. Do you know how to fix that? I'm lost... Thanks a lot for your help
Your answer

Follow this Question
Related Questions
Gun sways way too much 0 Answers
Blender and Unity won't play nice. Missing faces and weird render glitches 1 Answer
When reloading my gun sounds and the bullets glitch out. 2 Answers
How do I make a Blender model not become smooth when imported into Unity 3d 3 Answers
Part of a model is visible while the rest is invisible. Glitch? 2 Answers