Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Incompatibility with Nested Prefabs
#2
(24-04-2019, 06:08 PM)herbst Wrote: It seems that Obi Rope (and probably the other systems, I haven't tried) are completely incompatible with the new Nested Prefab workflow. The only way I can manage to keep Pin Constraints / Handles intact is if they are just plain scene objects, it doesn't work from within prefabs anymore.

Any ETA on when this will work again? It's a real pain to have to work without prefabs.

Hi,

We're not doing any custom/out of the ordinary serialization, so it all relies on Unity's built-in serialization/prefab system.

When you create a handle, it is by default added to the scene root (outside the prefab). This is by design as handles are supposed to act as anchors to the "outside" world, but nothing stops you from making them part of the prefab hierarchy if you wish to.

Same goes for pin constraints, if they hold a reference to an object outside the prefab hierarchy the reference will be lost as Unity does not support a prefab having references to anything that exists outside the prefab (not in the old prefab system, nor in the new system). Same solution, place the object you want to pin your rope to inside the prefab.

kind regards,
Reply


Messages In This Thread
Incompatibility with Nested Prefabs - by herbst - 24-04-2019, 06:08 PM
RE: Incompatibility with Nested Prefabs - by josemendez - 29-04-2019, 07:10 AM