- Home /
 
               Question by 
               AntiLunchBox · Jul 16, 2013 at 02:00 PM · 
                editorprefabhideflags  
              
 
              Why does my prefab create a child by itself in ProjectView
No matter how many times I remake the prefab, whenever I click 'Save Project' it will create a child of itself. It seems to be of type Transform. You can't even click it. I had this problem once before when I was using DLLs on the prefab, but now it's happening without that. How do I fix this? Why is it happening? Is it something wrong in my Editor script? I don't think I changed anything that would warrant this kind of effect. I am setting the hideflags on the Transform component to 'HideFlags.NotEditable | HideFlags.HideInInspector' on enable and on disable.
This is what it looks like:

               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                