playMaker

Author Topic: Reloading bugs  (Read 2503 times)

Pawel

  • Junior Playmaker
  • **
  • Posts: 93
Reloading bugs
« on: May 01, 2013, 09:05:46 AM »
After reloading levels there are some problems with the scripts. They no longer work properly. In my case the most annoying thing is that Smooth Look At does something strange -- it rotates the character and directs a wrong angle towards the target. Other users had different issues -- Can this be fixed, so that when re-loading the level is re-initialized properly and it works the way it forked when the level was run for the first time? This is especially a problem on iOS since once the game is run once users don't often shut it down...

http://hutonggames.com/playmakerforum/index.php?topic=3779.0

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Reloading bugs
« Reply #1 on: May 01, 2013, 12:34:28 PM »
Can you send me a repro project to look at?

In the past I've found loading an empty scene before loading the desire level can help with random Unity problems...

Pawel

  • Junior Playmaker
  • **
  • Posts: 93
Re: Reloading bugs
« Reply #2 on: May 01, 2013, 05:44:57 PM »
I'll try to create a simple scene and see if I can reproduce the problem. Unfortunately, I can't send you the real project... Thanks for the tip regrding an empty scene -- I'll check if this will help. In the meantime I completely rewired my character and used a different approach to avoid the re-load issue.