Prefabs question

Hi,

In unity2.5 for windows i have both white iconed prefabs and blue ones. What is difference and hwo do i convert white ones

When instantiate the white ones end up as individual objects, the blue show up as a single one.

Furthermore, the whites ones only say Data Template in the inspector, the blue ones have at least the coordinate box.

A “white” prefab indicates that your prefab is actually empty. A “Prefab” is like a container … drag something onto the “empty prefab” and you shall see it turn blue which indicates that is actually has “value” now. One it’s blue (contains an objects) you can drag it into the scene view or use code to make use of that prefab (clone 100 times for instance). Read the manual for more info on prefabs.

Thomas

Hi,

I figured that out. But when I drop for example 3 items onto a empty prefab it stays white (not always but i cannot reproduce it yet).

The items dropped are inside just like a regular blue prefab. It looks the same but only behaves differently when dropped onto the scene and in inspector (no coordinates, scaling and rotation for example).

So my question is: what did I do wrong that I get an ‘empty’ looking prefab that does contains one or more items?

I don’t know in that case and if you can sort reproducible steps then we’d definitely like to hear about it. I tried here on my end and don’t get the same behavior so any tips or thoughts you have to share would be great.

Q: is it only these particular objects or does this happen with any prefabs that you try to create? If this is tied to these assets only then perhaps you can share those with us so we can attempt to reproduce it on our end?

Sorry I don’t have something more definitive to offer, but I do hope we can sort out whatever details are necessary to nail this down.

Hi,

Thanks for the quick response. I recreated the items a couple of times but things keep getting wrong.

Strangely enough in this project I managed to geta couple of correct prefabs too (after having this same problem).

I can probably isolate the stuff. But where do I upload or mail it to?

You can either (a) file a bug from within the application (via the Help menu) and when doing that you can include files (including entire project folders), or (b) upload them to a site/location you’re hosting and log a bug with the URL for those. Option (a) is preferred as it puts the bug into the queue for QA to analyze and assess. If you do that please feel free to share the case number and I’ll follow up on it myself.

Hi,

Thanks, I uploaded the whole project (issue 176651)

Btw to check this kind of problems, what files would you need?

And do you have a tool to check integrety of projects (as unity itself does not seem to see any problems).

@wvd_vegt
Most of the time the most useful for us is to have your project folder, and the exact steps you are taking to reproduce the issue. Other than that the Unity bug reporter mostly takes care of the rest, like for example system specific information, Unity version etc…
If possible, we would be very happy with project folders which are completely boiled down to the bare minimum to reproduce the issue.

Think of it this way:

  • What steps will we need to follow in order to reproduce the issue you’re experiencing?

  • Include as much information and assets as necessary to help ensure that we can do it on our end.

We don’t mind doing a bit of extra leg work on our end of course, but the closer you get to providing us a simple and easy to reproduce set of information and files the better.

Sorry but no, we do not.