Unity 4.5 Messed up my game?

Hi,
Just upgraded Unity to v4.5

In the previous version of Unity, the game was crashing constantly on the Lumia 520 (Posted a thread about it) but after the update the game runs smoothly just as on any other platform.

But after playing through a few minutes of my game I realised

  1. Some of my buttons don’t work
  2. The game ‘restart’ logic, doesn’t work
  3. Animations/Transitions seemed to have stopped working sometimes
  4. My leaderboard implementation has stopped working (Both local, and global)

The way my game is set up is that there are multiple ‘screens’ all loaded into 1 scene. When you press a certain button, the corresponding ‘screen’ is animated in, and the current screen is disabled.

As for animation, there is a known regression, that some attributes are not updated via animation, i.e. 2D Sprite color, sprite.
I have a fix for it, which I’m trying to include to 4.5.1.

The others need to be looked on per case basis. Look this forum as well, it has some information on this.

I rebuilt and redeployed the game after reducing one of my 4096 textures to 2048, and now the game won’t load.

It’s stuck on the unity splash screen for pretty much eternity until it decides to crash itself.

Any idea?

I have deduced that the game no longer opens/starts when I am including the App42 plugin (for leaderboards).

I rebuilt from an older version, and everything worked, although there was a bit of lag, delay and spikes. I then included the App42 Windows Phone plugin, and now it won’t open again.

It worked fine in Unity 4.3, and even opened up in 4.5 but I was getting all sorts of wierd glitches in my gameplay and animations, although they had nothing to do with App42/Shephertz.

So right now here’s what’s happening:

  1. Just a basic build: Everything works, but laggy
  2. Add App42/Shephertz: App won’t open; stuck on splashscreen

Edit:

I debugged the whole thing line by line and there is this one line that’s stopping the app from opening up:

scoreBoardService = sp.BuildScoreBoardService ();

Unfortanately though this is the line of code that allows me to connect and use the App42 servers. If I comment out only this line, and keep everything else. The app starts, but, (obviously) my leaderboards don’t work. If I keep this line, the app won’t start.

Where is this line located? Do you have source code for what is inside that function? Is there anything on the player log?

Did this make it into 4.5.1? One of my sprite animations works fine in 4.3 but does not work in 4.5 or 4.5.1. I am animating sprite alpha.

Hi,

it didn’t, but it did make it to the next patch release (4.5.1p1). It’s going to be out pretty soon.

Patch is out, user should re check