playMaker

Author Topic: FSM template error  (Read 1246 times)

18LSC

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
FSM template error
« on: April 12, 2018, 03:47:31 PM »
I'm getting an error I never encountered before.

I created a FSM template that I intend to paste onto a bunch of interactable objects.
Each FSM will simply set a bool on an animation to change a reticle icon to on or off depending if the player is looking at the item or not.

"Prefabs should not reference scene objects, only other prefabs and project resources. References to scene objects will be lost on save/load!"

I don't understand what this means and why it's an issue? :/
This FSM will reference a scene object because that's what the animation is on.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1217
    • View Profile
    • Fat Pug Studio
Re: FSM template error
« Reply #1 on: April 13, 2018, 02:28:11 AM »
It's an issue because it won't work, that's how Unity functions, no prebab/scene objects cross reference.
Available for Playmaker work

18LSC

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Re: FSM template error
« Reply #2 on: April 13, 2018, 04:50:40 AM »
Ok, how do I fix it/avoid it?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6386
    • View Profile
    • jinxtergames
Re: FSM template error
« Reply #3 on: April 13, 2018, 05:29:14 AM »
Hi,
Maybe this video can get you in the right direction :

Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!

18LSC

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Re: FSM template error
« Reply #4 on: April 13, 2018, 07:57:02 AM »
Hi,
Maybe this video can get you in the right direction :

Cheers ill have a look