Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Most recent update breaks object references.#2971

The most recent update breaks object references for scripting purposes, as well as normal maps for asset bundles.
From my understanding it appears to mostly effect object references that are stored for later use, and not those recently obtained through functions that return object references.

Please fix or revert as soon as possible, these issues make many scripted tables unplayable due to being completely broken. Thank you.

3 months ago

Please link to workshop mods where you are running into these issues and explain more.

3 months ago

https://steamcommunity.com/sharedfiles/filedetails/?id=2427993068
This is the example I ran into first.

Most notably, the buttons attached to blocks in each player’s chip zones (labelled “Passive Actions”) fail to spawn, as well as some other buttons attached to objects that get stored as object references.

Additionally, many routines involving chip exhanging are now broken when they weren’t before.

Having tried this on my own project (not on workshop, but happy to share privately) this only appears to effect instances where I store an object reference and use it some period of time later.

None of these issues where happening before the update.

3 months ago

Worth mentioning this is on the stable release that was published earlier today.

3 months ago
Changed the status to
Research
3 months ago

hmm. this is hard to figure out the issue for. the first link hard-crashes the unity editor

as for the other links, can you show images of what they should look like?

3 months ago

https://cdn.discordapp.com/attachments/1358986568622412018/1448162275444785222/image.png?ex=69a5b3f8&is=69a46278&hm=6aba258341a92485904bca16e8487b6bb77ed3e758495fe3c583c61b34498c00&
The second group of files should look something similar to this, with a white inside and the text and borders able to be tinted in different colours.

3 months ago

As for the first file crashing the unity editor… I don’t know why it could do that. It appeared perfectly in game before now. I may need to speak to the person who made it for me.

3 months ago

i can’t view the image link
if you could directly upload it here, or DM it on discord do stella.berserk, that’d be great!

3 months ago
Z

I’m also having an issue with object reference in my mod, getting “Lua error <call/function>: Object reference not set to an instance of an object” when I run functions that scan scripted zones for template custom objects to clone onto the gameboard.

https://steamcommunity.com/sharedfiles/filedetails/?id=3664645189

3 months ago

@Zwavrutis, i have no experience with this mod, what steps do i take to reproduce the error?

3 months ago
Z

I’ve sent you a request on discord from Richkrooks so I can explain it better with pictures

3 months ago
Z

But if you press one of the “map” buttons, or put a card from the “hero” tile onto the board then press the “spawn” button the error is produced when trying to clone objects from the scripted zones (see attached picture)

3 months ago

this is #2976 and will be fixed in the next update

3 months ago

Closing this we have another issue open for the material issues after this update. We will hopefully have a fix soon.

3 months ago
Changed the status to
Completed
3 months ago