Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: 4s4 on May 16, 2012, 12:01:50 PM

Title: Prefab not updating properly
Post by: 4s4 on May 16, 2012, 12:01:50 PM
I have a prefab that had two different game object variables. Something happened,and now changes in the prefab are not updating properly in the scene anymore.

This is what I've under the prefab:
(http://www.kaipaamo.fi/make3d/wp-content/uploads/2012/05/prefab1.jpg)

and this is what i get in the scene version:
(http://www.kaipaamo.fi/make3d/wp-content/uploads/2012/05/scene1.jpg)
Title: Re: Prefab not updating properly
Post by: 4s4 on May 16, 2012, 12:04:53 PM
it seems that if I drag the prefab to the scene again, it has the proper values, but the earlier prefabs are still not updating. is this a Unity issue? is there anyway to refresh the prefabs?
Title: Re: Prefab not updating properly
Post by: Alex Chouls on May 16, 2012, 12:35:33 PM
What version of Playmaker are you using? (Main Menu > PlayMaker > About Playmaker...)
Title: Re: Prefab not updating properly
Post by: 4s4 on May 16, 2012, 01:28:12 PM
playmaker 1.3.2
unity 3.5.1f2

got around the problem by creating the prefabbed element again in the scene, hope it doesn't happen again. Sorry for really messy bug report :(
It definitely had something to do with game object variables, as I was tweaking them around when it happened.
Title: Re: Prefab not updating properly
Post by: Alex Chouls on May 16, 2012, 02:45:46 PM
There was a bug fix for this in 1.3.3.

Backup your project before updating!


Title: Re: Prefab not updating properly
Post by: 4s4 on May 16, 2012, 03:12:34 PM
cool, will update, thanks for the quick response!
Title: Re: Prefab not updating properly
Post by: 4s4 on May 18, 2012, 05:07:06 AM
I updated PM, and everything seemed be working. Until it happened again, with another object this time.. argh.  :-\
Some values just won't update. Do I have too many variables or what's causing this? I didn't have any problems earlier.

How it happened this time:
I was tweaking game object variables. I'm using set position action: specify game object > the gameobject variable is stuck into using wrong GO variable. drag and dropping the prefab in to the scene has no effect.
Title: Re: Prefab not updating properly
Post by: Alex Chouls on May 18, 2012, 02:12:11 PM
Is the problem persistent? E.g. you can close Playmaker/Unity, re-open and it's still broken? If so can you send me the project in the broken state?

I haven't been able to reproduce this problem here, so a working repro case would be great!

EDIT: Can you also submit a bug with the Playmaker bug reporter so I get more info on your setup? Thanks!