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

Runestones: from concept to in-game model🗿

Shadow The Hedgehog X pixel art

Spaaaace~

These are background sprites I've created for a game I'm working on at school ^w^ Click on the post to see how the sprites connect. You won't regret it! (personally, I think it's pretty heheh)

Drawn in Piskel using my mouse. Whaddya think?

Regular exercise is key for healthy wings.

Try it out!

https://gamejolt.com/games/AeonNightmares/605184

brung back my old oc plus a new one

...they don`t have names yet tho

I mostly build 3D First Person Shooter game mechanics in Unity, and in this I'm just showing C4 mechanics I made for a little side project I am working on! :)

Path of Kami, running around the shrine area

Double Rainbow!!!

Sonic and Shadow as Pokémons. #Fakemon

Daldos Gameplay