playMaker

Author Topic: Unity 2018.3b2 compatibility[SOLVED]  (Read 8361 times)

welltold

  • Playmaker Newbie
  • *
  • Posts: 3
Unity 2018.3b2 compatibility[SOLVED]
« on: September 21, 2018, 04:11:01 PM »
Hello,

I was wondering if there was beta version of Playmaker that fixes some of the issues I was having with Playmaker in the Unity 2018.3 beta. I am assuming it has to do with the new nested prefab functionality with errors like this:

Code: [Select]
MissingMethodException: UnityEngine.Object UnityEditor.PrefabUtility.GetCorrespondingObjectFromSource(UnityEngine.Object)
It also seems like opening the action browser doesn't work.

Any help would be much appreciated!

Thanks!
« Last Edit: January 17, 2019, 01:03:52 AM by jeanfabre »

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Unity 2018.3b2 compatibility
« Reply #1 on: September 21, 2018, 04:21:28 PM »
I'm not having that problem. Actually, i don't have any errors.

https://docs.unity3d.com/ScriptReference/PrefabUtility.GetCorrespondingObjectFromSource.html

Does it appear when you try editing a prefab fsm from instance?
Available for Playmaker work

welltold

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Unity 2018.3b2 compatibility
« Reply #2 on: September 21, 2018, 04:26:33 PM »
What Version of Playmaker were you using? I just have 1.9.0 currently.

Thanks!

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Unity 2018.3b2 compatibility
« Reply #3 on: September 21, 2018, 04:44:44 PM »
1.9.1 beta, but it's the iteration before improved prefabs came out, so i don't think anything's been changed.
Available for Playmaker work

welltold

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Unity 2018.3b2 compatibility
« Reply #4 on: September 21, 2018, 06:10:52 PM »
Yeah, the error was from editing an fsm on a prefab it was attached to. Do you know how to get access to the beta versions to see if that might fix this issue?

Thanks again!

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Unity 2018.3b2 compatibility
« Reply #5 on: September 22, 2018, 05:52:32 AM »
Contact Jean on Djaydino.
Available for Playmaker work

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity 2018.3b2 compatibility
« Reply #6 on: October 04, 2018, 03:28:54 AM »
Hi,

 I can't repro this. Can you give me some steps to reproduce?

currently, even in beta, you should not try to edit the fsm of a prefab instance, period. This is not supported. what you can do is expose fsmvariables to the inspector, that works for all cases ( nested, overrides management, variants)

 Bye,

 Jean

wilczarz

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Unity 2018.3b2 compatibility
« Reply #7 on: November 19, 2018, 10:40:54 AM »
I can also see the same error spamming the console.

Amitloaf

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Unity 2018.3b2 compatibility
« Reply #8 on: November 25, 2018, 11:33:39 AM »
Happens to me whenever I try to edit any fsm. Inside a prefab or just on an object in the game.
It doesn't happen to my friend on the same project though.

Amitloaf

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Unity 2018.3b2 compatibility
« Reply #9 on: November 25, 2018, 11:43:16 AM »
It seems like something happened and now I can't open the object browser in any fsm.
I did find a workaround!
Open an empty scene. Open the Playmaker Editor. It should stop spamming the error and actually open the Action Browser. Now close everything, go back to your scene and it should work again.
Now we're just left to find what causes this weird limbo state.

Amitloaf

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Unity 2018.3b2 compatibility
« Reply #10 on: November 25, 2018, 12:55:10 PM »
Ok so apparently it happens when trying to mess with fsms in prefabs. Mostly when you accidentally try that from the instance. But also when not. It doesn't work well with prefabs in the current non-beta version. Which makes sense.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity 2018.3b2 compatibility
« Reply #11 on: November 26, 2018, 01:54:31 AM »
Hi,

 uhm... if you have a some steps that I can follow to reproduce, I'll double check.

 Bye,

 Jean

monsieureureka

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Unity 2018.3b2 compatibility
« Reply #12 on: January 15, 2019, 05:36:24 PM »
Hello there!

What worked for me is deleting all the objects in the scene and ctrl+z to get them back in and it removed the error!

monsieureureka

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Unity 2018.3b2 compatibility
« Reply #13 on: January 16, 2019, 01:06:31 PM »
nope, I lied, still can't use FSM on the new nested prefabs workflow

monsieureureka

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Unity 2018.3b2 compatibility
« Reply #14 on: January 16, 2019, 01:24:06 PM »
ok turns out updating on the Asset Store didn't work out and I needed to go through the Playmaker Welcome Screen to install the latest playmaker version and it works fine now