Hi all,
I've got an issue with my game, which I've personally never seen, but it occurs on certain hardware configurations (particularly slower configurations).
It looks like this:
It occurs if I call Show Picture, then call Move Picture moments afterwards. Like, look at this - this has been known to cause it for these users. It seems to be one of these instances:
The only explanation I can figure out is that MV is trying Move Picture before the image fully loads, and as a result, it's getting a "null" or bad data during the process, and it throws up the error.
It might be because the images are encrypted and take longer to load?
I can guarantee the logic is correct. It's iron-clad. It's the sort of thing that, if it was to go wrong, logically would either go wrong every time, or at the very most, 1-out-of-3 times for something that occurs hundreds of times in this section - so there's no way that any user could get through this if the logic wasn't right.
We've now had thousands of players and this has only happened to a very small number (~15) of users on certain hardware configurations (like this literally never happens for me, on my machine).
This suggests to me that the function to move a picture doesn't have a null-check, which is a pretty standard feature for game-engines. While in development, it's fine to have this happen, it's best if the game can continue if this happens in release, because running on past the error is usually going to give a better result than just stopping.
I'm aware the immediate thought here might be "you should re-engineer this not to occur instead of relying on it to fail silently" but I don't want to get into a debate about development standards - game engines can normally "play on" from very slight problems like this.
If I can get this to play on, it would just be a momentary glitch and the users would be past it soon enough. What happens above is the "show picture" actually "spawns" the image offscreen, and then the "move picture" moves it onscreen; so if it failed silently, the user just wouldn't see a picture, and that wouldn't cause a huge issue if it's this rare.
Given how the build is now on Steam/Itch and these problems are so rare, I'm not keen on climbing inside the system again to fix something that I can't actually see on my hardware; we're more likely to cause a new problem through human error than fix it.
Before I look at a classifieds thread, I just want advice. Would it be possible to write a plugin that...
And potentially - has anyone already done this?
I've got an issue with my game, which I've personally never seen, but it occurs on certain hardware configurations (particularly slower configurations).
It looks like this:
It occurs if I call Show Picture, then call Move Picture moments afterwards. Like, look at this - this has been known to cause it for these users. It seems to be one of these instances:
- A "Show Picture" call happens,
- 1 frame wait,
- then "Move Picture" happens
The only explanation I can figure out is that MV is trying Move Picture before the image fully loads, and as a result, it's getting a "null" or bad data during the process, and it throws up the error.
It might be because the images are encrypted and take longer to load?
I can guarantee the logic is correct. It's iron-clad. It's the sort of thing that, if it was to go wrong, logically would either go wrong every time, or at the very most, 1-out-of-3 times for something that occurs hundreds of times in this section - so there's no way that any user could get through this if the logic wasn't right.
We've now had thousands of players and this has only happened to a very small number (~15) of users on certain hardware configurations (like this literally never happens for me, on my machine).
This suggests to me that the function to move a picture doesn't have a null-check, which is a pretty standard feature for game-engines. While in development, it's fine to have this happen, it's best if the game can continue if this happens in release, because running on past the error is usually going to give a better result than just stopping.
I'm aware the immediate thought here might be "you should re-engineer this not to occur instead of relying on it to fail silently" but I don't want to get into a debate about development standards - game engines can normally "play on" from very slight problems like this.
If I can get this to play on, it would just be a momentary glitch and the users would be past it soon enough. What happens above is the "show picture" actually "spawns" the image offscreen, and then the "move picture" moves it onscreen; so if it failed silently, the user just wouldn't see a picture, and that wouldn't cause a huge issue if it's this rare.
Given how the build is now on Steam/Itch and these problems are so rare, I'm not keen on climbing inside the system again to fix something that I can't actually see on my hardware; we're more likely to cause a new problem through human error than fix it.
Before I look at a classifieds thread, I just want advice. Would it be possible to write a plugin that...
- Performs a null-check for the move picture command. If the data is null, the move should not happen - but it must fail silently and progress.
- Does the same for the erase picture command, just in case
And potentially - has anyone already done this?