playMaker

Author Topic: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3  (Read 1989 times)

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
I used unity 5.6.5 before but now I use unity 2018.3
After I convert my system to 2018.3 .
I discovered my trigger only works in the engine editor but does not work in .exe


After a while, I found out that playmaker auto add component "Playmaker tringer enter " but when convert to 2018 it have been missing "Target FS Ms "

I don't understand why it doesn't automatically receive FSM like version 5.6.5 anymore!
Show me how to fix this automatically ? because i have a lot of prefab using playmaker trigger enter and many things in PlayMaker.dll
« Last Edit: January 21, 2019, 02:14:31 PM by eotiti »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
« Reply #1 on: January 21, 2019, 02:14:20 PM »
What version of PlayMaker are you using?
I’ll try to repro here...

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
« Reply #2 on: January 21, 2019, 02:16:10 PM »
I use Playmaker 1.9.0.p6
Another note makes you easy to test :
Step 1 : you make a cube test with " on trigger enter "
Step 2 : Drag and drop it to prefab
Step 3 : Create this prefab by other FSM in scene
Step 4 : Build to .exe ---- > when play game it will created a Cube and the "trigger enter" will not work

-----------------------------------------------------

If you put this prefab in scene then build .exe "right from the start" it will Work !
But if you created this prefab " during the game run" it will Not work !

If Fix "Target FS Ms" Everything work fine .... But i have so much prefab need to fix in my project , I cannot do this manually
« Last Edit: January 21, 2019, 02:31:13 PM by eotiti »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
« Reply #3 on: January 21, 2019, 02:42:19 PM »
Thanks for the repro steps. Unity 2018.3 introduced a lot of prefab changes as well as some changes to build processing, so I'll need to investigate what's going on...

In the meantime, I've attached a tool that should help you automatically setup the prefabs. Import the attached unitypackage and run Main Menu > PlayMaker > Tools > Preprocess Prefab FSMs.

Please BACKUP your project first!!

Let me know if this works.
« Last Edit: January 22, 2019, 10:26:03 AM by Alex Chouls »

Hannes

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
« Reply #4 on: January 21, 2019, 05:35:40 PM »
Sounds a little similar to my problem - it is actually not a trigger, but a script that activates an object after x seconds. And it only works in editor mode, but is not called in the build.

https://hutonggames.com/playmakerforum/index.php?topic=20010.0

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
« Reply #5 on: January 22, 2019, 03:26:56 AM »
Hi Alex !

I have tested a lot ,Things are quite troublesome :
I try use the "Preprocess Prefab FSMs" and There are some problems:

- Double click in prefab you will see "Target FS Ms " still Not fix , But when you drag and drop this prefab in the scene you will see it have been fixed .
( i think this is Display error of unity )

- Build game .exe it work , But some object still not fix ... I think unity limits scanning the number of large objects to fix errors

- Big problem is : When i close unity and reopen it ... Everything prefab return to Not fix !

This is Big problem

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
« Reply #6 on: January 22, 2019, 10:27:08 AM »
I've updated the package above. Please redownload and give it a go!

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
« Reply #7 on: January 22, 2019, 11:10:04 PM »
Thank alex !