Playmaker Forum

Bug Reporting => Playmaker Bug Reporting => Topic started by: autumnboy on August 12, 2018, 02:11:47 AM

Title: (FIXED) Updating prefab disconnects from anything referencing that prefab
Post by: autumnboy on August 12, 2018, 02:11:47 AM
Hi all,
I'm using Unity 2018.2.2f1
Playermaker : 1.9.0 p4

Also using Nested Prefabs

For some reason whenever I update a prefab where ever that prefab is connected/ referenced in (eg: fsm/array/list) it disconnects.

I don't know whether nested prefabs is having an effect on this. It's been working fine up until updating the project to new unity and playmaker.

Has anyone had this or know of a solution? Should I reimport the whole project?

Cheers,
Josh
Title: Re: Updating prefab disconnects from anything referencing that prefab
Post by: krmko on August 12, 2018, 02:44:43 AM
Yeah i had some issues too, there's gonna be trouble with nested prefabs. What are your prefab settings on the preferences? I recommend to work on the prefab FSM's insted of scene objects, that way everything gets saved.

Nested prefabs are not yet supported with playmaker, i'm actually amazed it works in a way.
Title: Re: Updating prefab disconnects from anything referencing that prefab
Post by: autumnboy on August 12, 2018, 05:08:15 PM
It's been fine on previous versions. I've never had objects disconnect from prefabs. I am currently working on prefab fsms. So it's still weird that things continue to disconnect.

Can you elaborate on the prefab settings in preferences please -

Cheers

Title: Re: Updating prefab disconnects from anything referencing that prefab
Post by: krmko on August 13, 2018, 02:18:28 AM
I unchecked Disconnect Modified Prefab Instances and Disconnect All Modified Prefab Instances In Scene.

But TBH, i'm still having some weird disconnects, i believe i edited and saved the prefab (via instance or in the project) but some time later i find that some edits were not saved. Either i did something wrong, or it should be done in some other manner. We could use an advice if we should do works in prefabs directly or in instances then override.
Title: Re: Updating prefab disconnects from anything referencing that prefab
Post by: autumnboy on August 13, 2018, 08:48:56 PM
Thanks!

I tried them preferences you mentioned. Closed and opened unity. Still no different. :(

In the fsm it says it's missing even though it's a prefab, directly after updating the prefab.

I might do some testing in a fresh project without nested prefabs to see what's causing the problem.
Title: Re: Updating prefab disconnects from anything referencing that prefab
Post by: krmko on August 13, 2018, 09:32:45 PM
Then it's something with the way new nested prefabs work, report a bug so it can be solved! I mean via unity, it will give you an e-mail where to send it.
Title: Re: Updating prefab disconnects from anything referencing that prefab
Post by: autumnboy on August 26, 2018, 03:05:18 AM
Nested prefabs got updated and fixed a bunch of compatibility bugs with 2018.2.2f1

I can confirm prefabs aren't disconnecting from fsms anymore.



-Josh
Title: Re: (FIXED) Updating prefab disconnects from anything referencing that prefab
Post by: krmko on August 26, 2018, 03:46:42 AM
2018.2.2f1 have improved prefabs?
Title: Re: (FIXED) Updating prefab disconnects from anything referencing that prefab
Post by: autumnboy on August 27, 2018, 01:38:41 AM
Are you asking me why I'm still using it or if 2018.2.2f1 has it?
Title: Re: (FIXED) Updating prefab disconnects from anything referencing that prefab
Post by: krmko on August 27, 2018, 02:08:23 AM
I am asking you how come 2018.2.2f1 has nested prefabs. As far as i know, only 2018.2.0x-ImprovedPrefabs has it.