New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken prefabs in example content #51
Comments
Okay, so here's what I can repro it (though it sounds like you've already done this). I'm on 2018.1.6f1 on this machine. I downloaded the latest data from Github, extracted the Asset folder containing the Crest and Crest-Examples folders into an empty folder. I opened that folder in Unity as a new project. Firstly, in the log, I get meta file warnings that you mentioned, so that's no biggie. Next, I open up the threeboats scene, and the scene heirarchy looks like this: That's to be expected if the prefabs have been deleted or somthing, but what's odd is that I can still find the prefabs in the project window, under the boat folder. But, what's even weirder is this, which I have never seen in Unity before. When I click on the BoatAlignNormal prefab in the project view, this is what's in the inspector: Notice, at the top, right under where it has the tag and layer dropdowns. It just—unhelpfully—says "missing", which makes no sense, because the prefab is clearly there, with all of its data, and I can expand it and look at all of the subobjects. I also can't drop it into the scene view—just doesn't do anything, and the cursor turns into a cross. If I try to drop it into the scene heirarchy, I get this:
So I'm really not sure what to do here. It could be that I'm not on 2018.2 yet? We'll be upgrading at some point, but you've been on 2018.2 for a few weeks now, right? If so, I wouldn't have thought it'd be that, but who knows. I hope this is helpful in some way, even though it sounds like you've already done exactly this. |
Very odd @Midda-C . I am not seeing this at all. Everything looks fine on two projects. I do blow out both directories completely when updating. I am running on 2018.2.1f1 so ya maybe that is it. |
Hmm, well all of the machines we've seen this on (three so far) have all been pre-2018.2, so maybe that's it. Still an odd one. I'll just upgrade my home machine to the latest version now and see if that's it. EDIT: Yep, that was it. Fine on the latest version. I guess they must have started overhauling prefabs in 2018.2+ in preparation for nested prefabs in 2018.3 later in the year. I'm mildly nervous about the impending update of our project to 2018.2 now... I'm sure it'll go perfectly, first go, no issues.... |
Oh dear. There is a thread which indicates something along these lines: https://answers.unity.com/questions/1502308/missing-prefabs-after-downgrading-from-unity-20182.html FWIW it seems updating forwards should work flawless but upgrading is one way and kills backwards compatibility (eeek). That's quite a screw up.. and makes me tempted to downgrade back to 2018.1 and sit on that.. I guess I'll monitor for now, perhaps they manage to patch fix this in future versions. Thanks, as always, for the help investigating.. |
Removed meta file for empty local folder.
Okay, well at least it's not technically a bug in Crest or our project, then! We're not using any of the example prefabs in our project anyway, so it isn't a blocker for us—oh, and the issue @dizzy2003 was trying to fix when he found the broken prefabs is sorted now, anyway. I see you've made note of it on the Readme. Up to you if you want to close this issue or not. |
@Midda-C @holdingjason
Guys could you give me a bit more detail on what you see? Is it reporting that prefabs are "missing" in the threeboats scene? Which prefabs exactly?
So far i've tried the following to repro without success:
Note that i copy the meta files along with the folders - so Crest.meta and Crest-Examples.meta.
I'm on 2018.2.1f1. I'm happy to upgrade forward if you guys are on a new version.
The text was updated successfully, but these errors were encountered: