playMaker

Author Topic: Something doesn't working after I build the game  (Read 126 times)

hyf4053

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Something doesn't working after I build the game
« 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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 5946
    • View Profile
    • jinxtergames
Re: Something doesn't working after I build the game
« Reply #1 on: March 01, 2021, 07:23:03 AM »
Hi.
Do you use Get/Set Properties actions?

If so try linker wizard

hyf4053

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: Something doesn't working after I build the game
« Reply #2 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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 5946
    • View Profile
    • jinxtergames
Re: Something doesn't working after I build the game
« Reply #3 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.