Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: eotiti on January 21, 2019, 02:06:15 PM

Title: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
Post by: eotiti on January 21, 2019, 02:06:15 PM
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
(http://)

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
Title: Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
Post by: Alex Chouls on January 21, 2019, 02:14:20 PM
What version of PlayMaker are you using?
I’ll try to repro here...
Title: Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
Post by: eotiti 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
Title: Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
Post by: Alex Chouls 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.
Title: Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
Post by: Hannes 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
Title: Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
Post by: eotiti 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
Title: Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
Post by: Alex Chouls on January 22, 2019, 10:27:08 AM
I've updated the package above. Please redownload and give it a go!
Title: Re: Playmaker Error Missing " Target FS Ms " PlayMaker.dll in Unity 2018.3
Post by: eotiti on January 22, 2019, 11:10:04 PM
Thank alex !