Game
Unity API
11 years ago

[Archive] Update 1.2.10 & 1.3.0


Since I started working on the version 2 of the API, I didn’t think I would release an update for the version 1 but I really didn’t think I would release two updates!

Update 1.2.10

  • Update GetFromWeb to work with WebGL builds.

  • Fix a bug in GetFromWeb where tokens with colons in them wouldn’t be returned properly.

Update 1.3.0

  • Fix that damn “Some objects were not cleaned up when closing the scene” error! Really!

Why not group them in a single update? Which version to use? MUST READ.

Version 1.3.0 fix that really annoying “Some objects were not cleaned up when closing the scene” bug but will break you code and you’ll have to update it. This is a really small change but if you don’t want to bother right now and only want to be able to publish your game as a WebGL build, update to 1.2.10. Otherwise, update to 1.3.0 and follow the instructions below.

Upgrade guide from 1.2.x to 1.3.x

Whenever you unsubscribe to a callback, you have to check that the instance of the GJAPI is not null.

Before:

void OnDisable () {

  • GJAPI.Users.VerifyCallback -= OnVerifyUser;

  • GJAPI.Trophies.GetOneCallback -= OnGetOneTrophy;
    }

After:

void OnDisable () {
if (GJAPI.Instance != null)
{
GJAPI.Users.VerifyCallback -= OnVerifyUser;

  • GJAPI.Trophies.GetOneCallback -= OnGetOneTrophy;
    }
    }*

  • *



0 comments

Loading...

Next up

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

"Our work is never over" they said.

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve

Regional Bulbasaur. #Pokemon

I did this on my 3DS ^^ #Kirby

Only true badasses may pass! #conceptart #art #gamedesign

A 1h30 painting, coffee break.

My twitter: https://twitter.com/loupil100

Sonic The Hedgehog style Super Smash Bros 4 Pixel art Gif.