playMaker

Author Topic: (FIXED) Updating prefab disconnects from anything referencing that prefab  (Read 348 times)

autumnboy

  • Playmaker Newbie
  • *
  • Posts: 45
    • View Profile
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
« Last Edit: August 26, 2018, 03:05:38 AM by autumnboy »

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 789
    • View Profile
    • Fat Pug Studio
Re: Updating prefab disconnects from anything referencing that prefab
« Reply #1 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.
« Last Edit: August 12, 2018, 02:52:36 AM by krmko »

autumnboy

  • Playmaker Newbie
  • *
  • Posts: 45
    • View Profile
Re: Updating prefab disconnects from anything referencing that prefab
« Reply #2 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

« Last Edit: August 12, 2018, 08:00:32 PM by autumnboy »

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 789
    • View Profile
    • Fat Pug Studio
Re: Updating prefab disconnects from anything referencing that prefab
« Reply #3 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.

autumnboy

  • Playmaker Newbie
  • *
  • Posts: 45
    • View Profile
Re: Updating prefab disconnects from anything referencing that prefab
« Reply #4 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.

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 789
    • View Profile
    • Fat Pug Studio
Re: Updating prefab disconnects from anything referencing that prefab
« Reply #5 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.

autumnboy

  • Playmaker Newbie
  • *
  • Posts: 45
    • View Profile
Re: Updating prefab disconnects from anything referencing that prefab
« Reply #6 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

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 789
    • View Profile
    • Fat Pug Studio
2018.2.2f1 have improved prefabs?

autumnboy

  • Playmaker Newbie
  • *
  • Posts: 45
    • View Profile
Are you asking me why I'm still using it or if 2018.2.2f1 has it?

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 789
    • View Profile
    • Fat Pug Studio
I am asking you how come 2018.2.2f1 has nested prefabs. As far as i know, only 2018.2.0x-ImprovedPrefabs has it.