Updating project prefabs from 2018.2 to 2018.3

As a test I opened a 2018.2 project in 2018.3b and found that all script components on my prefabs had been reset as though I’d gone to each one and used “Reset” from the component’s menu.
Does this mean that the old prefabs are essentially non-compatible with the new prefab workflow or is this a bug?

Thanks.

I have no idea but I would have assumed so. Probably best to write some sort of SO container to dump all the properties into and then read back from after updating

probably a bug. they announced the new prefab workflows as backwards compatible

No, they’re meant to be compatible, but there may still be bugs in certain cases where it fails. Sorry about that. We’d appreciate a bug report with your repro project attached. If you have a copy from it from before you opened it with the beta, that would be ideal.

3 Likes

Yeah I backed it up before I did the update test, so it’s still fine. However the project is probably over 10GB so I’ll try to reproduce it on a new project and send the bug report using that new project instead.

2 Likes

Huh, thanks for reporting sounds pretty dangerous :smile:

2 Likes

In a similar vein is migration from 2018.2.0xImproved-Prefabs to 2018.3 supposed to work? I appreciate it is a weird stand alone build of Unity and maybe never supposed to migrate.

Yes, that’s supposed to work.

I did a copy of the project and opened in 2018.3 to see what happens. In regards to prefabs I’m getting this:
"
PPtr cast failed when dereferencing! Casting from PrefabInstance to Prefab!
"
As a result on project conversion,

Me too. I put a little more detail here: Prefab related bugs and crashes on upgrading project in 2018.3

My prefafs are suffering from the :

PPtr cast failed when dereferencing! Casting from PrefabInstance to Prefab!

The players tank fails to instantiate :\ Gonna chedk that other thread and see if I see the light.

Ok this new prefab workflow is gonna be a bloodbath.

You see that? this is an override for a FRESLY drag and droped to the scene prefab.
All theese photon Views aquire a id value once they appear in scene and that triggers the override…

I want the old procedure back already…

2 Likes

“PPtr cast failed when dereferencing! Casting from PrefabInstance to Prefab!”
does not allow my prefabas to instantiate. so player does not spawn so everything feels broken…

Ok the dissaster is bigger. As the OP I’ve prefabs that have lost all references. Just check this UI Prefab

RIP

2 Likes

OK previous was the instantiated prefab, this is how the prefab loosk when selected on project and click open

Aside, having to click open is really annoying, it was better befor as it allowed for quick prefab check/edit

I saved teh scene I had open and now “WORKS” meaning that I’ve an spawn, but plenty of issues on the console. (this is a working project in 2018.2

OK, now I get it, when I saved the scene, the prefab was already in the scene, so it may have fixed something. I’m going to try with the players tank same way.

Definitelly the prefabs are not properly imported, the image on the right is how it looks in 2018.2 on the left how it iw in 2018.3

This is an script in a child object of a prefab. and same happens on the root

actually, what is going on in above pictures is what is described here:

I noticed it later, the 2018.3 messes up when dragged into the scene, I was comparing them using the scene prefab. I did “open” the prefaba and values seem right.

I’ve submited a bug report, will post case number when I get it
Case 1080570

2 Likes