Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: hyf4053 on March 01, 2021, 06:28:38 AM

Title: Something doesn't working after I build the game
Post by: hyf4053 on March 01, 2021, 06:28:38 AM
I'm not sure what's the problem. Everything works fine in the Unity Editor, but after I build the game, the FSM I put on the prefabs is not working functionally. I got multiply Null Reference Exception in the dev console on my build version game when I interact with my prefabs. I am not sure what's the real problem, is anyone there has some suggestion?
Title: Re: Something doesn't working after I build the game
Post by: djaydino on March 01, 2021, 07:23:03 AM
Hi.
Do you use Get/Set Properties actions?

If so try linker wizard (http://hutonggames.com/playmakerforum/index.php?topic=11126.0)
Title: Re: Something doesn't working after I build the game
Post by: hyf4053 on March 01, 2021, 07:53:52 AM
Yes, I just use Get Properties in my prefab FSM only one time. I will try linker wizard. But if you don't mind, could you please tell me why Get/Set Properties would lead to this problem?
Title: Re: Something doesn't working after I build the game
Post by: djaydino on March 01, 2021, 10:59:13 AM
Hi.

As they use reflection and therefor might not get included into the build, which leads to broken builds,
It also depends on which platform.

where did you use the get/set propery for?
maybe it can be replaced by a dedicated (custom) action.