Playmaker Forum

PlayMaker News => General Discussion => Topic started by: Rabagast on August 30, 2018, 02:01:11 AM

Title: Build Problem
Post by: Rabagast on August 30, 2018, 02:01:11 AM
I have a problem when I build my game. It build the game without any problem, but none of the FSMs are working in the build. Does anyone has similar problems? I'm using Unity 2018.2.

I made a video so you can see for yourself.

Title: Re: Build Problem
Post by: jeanfabre on August 30, 2018, 02:06:08 AM
Hi,

 you need to check what is outputed in the log, maybe there is something in there to indicate where the problem is.

https://docs.unity3d.com/Manual/LogFiles.html

Can you try a fresh new project, and have a cube being rotate by playmaker, no input, just a simple rotate. and publish to see what's going on.

 Bye,

 Jean
Title: Re: Build Problem
Post by: Rabagast on August 30, 2018, 09:39:36 AM
Hi, Jean!

I tried a fresh new project as you said, and it worked.

DjayDino mentioned that Get/Set Properties can cause some build problems. I don't know if this is the problem in my case.

Is it the Player Log I need to check?

Maybe it's easer to copy all the graphics and assets and the scenes to a fresh new project. :)
Title: Re: Build Problem
Post by: jeanfabre on August 31, 2018, 04:28:13 AM
Hi,

 no, your problem is simply that you need to use the Linker wizard to analyze your game and produce a file that Unity will use to know which class you are using with reflections ( since using reflection makes Unity blind as to what to include in the build)

http://hutonggames.com/playmakerforum/index.php?topic=11126.0

 Bye,
 
 Jean