Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: WormAnimation on April 08, 2016, 09:08:24 PM

Title: Playmaker errors after build
Post by: WormAnimation on April 08, 2016, 09:08:24 PM
Hello,

We are having Playmaker errors after build, somehow there is no errors during play mode in Unity.
Funny thing is we have been working without building the game and the latest working version is month old, and the error messages is not really helping us. So do you guys have any idea?

Please check out the attachment.
-I don't have user named "Alex" in my computer. so it might be related to playmaker
- We are using Unity 5.3.2f with Playmaker 1.8.0f43

Thank you.

PS:Here is the game that we are working on.
www.WormAnimation.com


Title: Re: Playmaker errors after build
Post by: Alex Chouls on April 08, 2016, 10:08:25 PM
What platform are you building for?
Title: Re: Playmaker errors after build
Post by: WormAnimation on April 08, 2016, 11:11:42 PM
Pc at the moment, but we build for xbox one too
Title: Re: Playmaker errors after build
Post by: WormAnimation on April 09, 2016, 03:49:44 AM
Okay, this is fixed.

So the problem was the Audiosync script inside playmaker event that we made,
it was pointing an object that is actually hidden. Script is repeats itself every 4 seconds so that is probably why we had that much error messages.
Some reason though, none of the error messages told us about that broken script.

In order to find that error, We erased the unity scene part by part and we finally end up with a group of objects adn a single object. Inside that object there was playmaker events and in those events, there was a tiny little cute script didn't behave right or we didn't behave right, eighter way.

So, what we learned at the end of this fantastic episode is that "don't trust UNity's play mode, build and test often"


Title: Re: Playmaker errors after build
Post by: Alex Chouls on April 09, 2016, 11:08:22 AM
Glad you figured it out. If possible can you send me the offending script - maybe we can figure out a way to output a more useful error message so it's easier to track down the problem...

BTW, Worm Animation looks amazing!! I'd love to add it to our Showcase page. Do you have any screenshots of FSMs you could share?
Title: Re: Playmaker errors after build
Post by: WormAnimation on April 12, 2016, 12:24:39 AM
Thanks Alex, I would be happy to see Beat the game in Playmaker's website.
Let me know if you guys need anything else. We can create a little article and a  video showcase after game release to explain how we use playmaker.

I have attached the offending script and some playmaker screenshots.

Cheers!