Game
Unity API
10 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

"Thanks guys for endless hours of fun." 👍

(My first fan art. Read the article, please.)

#sonic #mario #photoshop

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

Auto-chess meets Clash Royale in an intense strategic battle. Outsmart your opponent, hide your play and crush their armies! Empire Builder just got another major update, check it out! https://gamejolt.com/games/EmpireBuilder/558901

We're knee deep in multiple large features and "game feel". Quick peek behind the scenes in this weeks Dev Blog: https://bit.ly/2QmmaQM

A 1h30 painting, coffee break.

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

Subscribe to technoblade

ooh yes..

Distrust - HUMERUS (with dirty shade) Papyrus isn`t small. It's possible that I didn't draw him well, but he crouched down and bent towards us. I'm still bad at moments like this

What Are You Doing In My Swamp!?

Now spruce forest monsters can vomit forest shields, but Brutal Castle will not stop!

#gamedev #pixelart #indie