Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

RPG in a Box

Bring your stories and ideas to life! · By Justin Arnold

[0.3.6.8] Crash when copying and pasting in script editor

A topic by lectronice created Dec 05, 2016 Views: 123 Replies: 7
Viewing posts 1 to 8
(1 edit)

Hi! Quick bug report: I've tried several times to copy an expression from an Evaluate Condition function, to paste it in the same kind of function but in another script, and so far every time the editor crashed (using the right-click menu to both copy and paste). I think I already had a few crashes before doing similar things, though I can't remember if it was related to copy and paste.

Hey there - I tried to recreate this a few times but I am not having any luck. When you get a chance, could you post a specific example of the expression that you are copying and pasting? It's possible I may just not be hitting the right conditions to recreate it.

Of course, now it seems I can't reproduce it anymore... It was a global property condition like this : global.property["dining_visited"] != true

This is pretty strange, last time the editor crashed right after I relaunched it and retried this manipulation. The only difference I see is the scripts I tried to copy this expression to have been "completed" manually and saved since, so maybe it wasn't directly related to copy and paste. I'll try to note every detail if I stumble upon this bug again.

(1 edit)

Sounds good, thanks for checking!

I've just started a brand new project to quickly test some level design ideas with a bunch of basic 16x16x16 cubes, and I've got a few crashes, though not while using the script editor. So far it either was when saving the map, or when hiding/showing a group. I'm using an older computer (also with Windows 10) and I noticed it's quite slower to open models in the voxel editor, sometimes, 4-5 seconds, but otherwise I didn't see any major difference.

It's possibly a memory problem, since the crashes occured after a while using the editor, maybe 20-30 minutes. Now I think about it, I sometimes get similar crashes on my main computer (which is less than one year old and more powerful), but way less often.

After a bit of testing, it seems to occur mostly after saving the map, then hiding/showing groups several times.

It could be memory related, but I have a suspicion that these sorts of crashes are related to threading, since both functions (saving a map and hiding/showing groups) are kicked off in separate threads. I'll take some time and try to recreate the crashes and see if I can find a solution. Hopefully they haven't caused you to lose anything!

No problem, I save often :)