playMaker

Author Topic: Missing prefab reference after build  (Read 1341 times)

p0d04Va

  • Playmaker Newbie
  • *
  • Posts: 3
Missing prefab reference after build
« on: May 25, 2020, 10:01:50 AM »
I've been using Playmaker for a while in my project. I'm experiencing weird issue right now. After building a project - all references to prefabs with FSM are missing.

I have Scriptable object that represents level configuration. In this object I have references to level objects. It's a gameobject with FSM on it. After building this reference are missing objects.

The only solution I found so far - disable auto-preprocessing FSMs on build. I do it manually - fix links and build my game after.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Missing prefab reference after build
« Reply #1 on: May 25, 2020, 04:00:51 PM »
Hi.
Are those normal prefabs or prefab variants?

I had an issue before and it was due to editing fsm's in the variants.

Now i only edit the main and expose values that i can change on variants.

p0d04Va

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Missing prefab reference after build
« Reply #2 on: May 26, 2020, 03:54:40 AM »
It's prefab variants. But I don't change anything there. It's the same FSM template that used across, I'm only changing values exposed in inspector for this FSM.