Open Ooooscar opened 2 months ago
I closed the game after the error screen, and I could continue my save normally afterwards (probably because I was doing multi-turn autoplay before, and changed to single-turn after the bug appeared? I can't really remember
This shouldn't really be a possible exception unless things on different threads were working at cross-purposes from each other, so I;m not surprised at all it's a transient error I'll try to see if I can find anything but I'm expecting not to :/
Yeah, I can't see how this would even be possible This is an internal LibGDX object that creates its child, tries to set its child's parent to itself, and then - its child is null? If this is a bug it's a LibGDX bug but I honestly have no idea what the hell is going on here
Well thanks for your time :) I will try to provide more info if I encounter the same issue again.
Maybe ensure the val progressBar = NextTurnProgress(nextTurnButton)
in WorldScreen nextTurn line 572 runs on the GL thread - possibly best by moving up the chain and preparing it before the nextTurn background worker is spawned?
Just a hunch. You should be able to instantiate a Table object off-GL-thread as long as nobody tries to draw it, and you definitely should be able to acquire empty unassociated Cell objects from a Pool on any thread (and here Pool.obtain returned null). But if it's really a reentrancy problem, then it's in Gdx, but by singlethreading that stuff we should be able to minimize the probability.
Another idea: An unusual Java runtime? Nah, gsmarena says that thing was "Released 2018, September"
Is there an existing issue for this?
Game Version
4.13.8-patch1 (Build 1,049)
Describe the bug
I'm just letting the AI to autoplay my losing game by each turn, and suddenly it crashed with a NullPointerException.
I have 5hex tileset mod, but I didn't activate it in the game.
Platform: Android Version: 4.13.8-patch1 (Build 1 049) Rulesets: [Civ V - Gods & Kings, Community Maps, Thin Bubbly Borders, Civ V - Vanilla, 5Hex Tileset] Last Screen:
com.unciv.ui.screens.worldscreen.WorldScreen
Device Model: SNE-AL00 API Level: 29 System Memory: 5689 MB Available (used by Kernel): 1435 MB System Low Memory state: false Java heap limit: 512 MB Java heap free: 3 MB
Message:
Steps to Reproduce
Screenshots
No response
Link to save file
Link to Gist: https://gist.github.com/Ooooscar/310bf12858639624037fc602afc9f8da
Operating System
Android
Additional Information
No response