playMaker

Author Topic: PlayMaker Script appearing strangely on camera/prefab  (Read 2384 times)

jess84

  • Hero Member
  • *****
  • Posts: 515
PlayMaker Script appearing strangely on camera/prefab
« on: August 23, 2014, 03:59:53 PM »
I noticed this recently, and it might be the cause of an error that I get when running my game. (unfortunately not in the Unity Editor, because that would be too easy to track down!) "The referenced script on this Behaviour is missing!"

It may be unrelated though.

Regardless, I'm guessing something has become corrupted?

Any idea how to safely fix it? Usually you don't see these PlayMaker scripts on an object, right?
« Last Edit: August 23, 2014, 04:53:31 PM by jess84 »

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: PlayMaker Script appearing strangle on camera/prefab
« Reply #1 on: August 23, 2014, 04:01:04 PM »
I should point out, this on on my camera for a tutorial scene. My main scene, I removed this 'corrupted' component - and whilst it continues to play fine, maybe that's where my error is coming from.

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: PlayMaker Script appearing strangely on camera/prefab
« Reply #2 on: August 26, 2014, 07:34:22 AM »
Bump

-I guess this may be more suited in the bug forum though

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: PlayMaker Script appearing strangely on camera/prefab
« Reply #3 on: August 26, 2014, 07:47:56 AM »
Alex would know for sure, but I think that is normal. There is a number of scripts that come and go from your gameobjects depending on what actions you use. For instance itween puts a script on objects and arraymaker requires a proxy script. I think I've seen a few other instances but can't remember off the top of my head. But anyway that isn't an FSM, its just a script.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: PlayMaker Script appearing strangely on camera/prefab
« Reply #4 on: August 26, 2014, 07:58:23 AM »
My problem is that it's abnormal behaviour.

I realise that the relevant scripts are added in the background ,  but I've had problems like this before with other scripts where  something that isn't usually visible is, and has the 'broken' icon.

I really just need to know, if this has happened, will it be causing problems, or am I good to just delete it and it'll get reattached properly automatically.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: PlayMaker Script appearing strangely on camera/prefab
« Reply #5 on: August 26, 2014, 08:06:54 AM »
I see. I would try removing it and seeing what happens. Something would be wrong if the FSM was repeatedly adding a script that didn't exist of course, but maybe its just leftover garbage from a glitch or something and needs to be erased. Gotta find out for sure. (backup!)
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D