You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crash when moving a spy to a city. This only happens if I move it by long-pressing the city in the map, and does not happen when moving it by using the city list, nor does it happen in previous versions. The city can be owned, friendly or enemy.
Steps to Reproduce
Enter the spy screen.
Long press the 'move' button. This opens the world map.
Long press a city.
Click the button that looks like ->. This again opens the spy screen.
Click the 'close' button
See error.
Note that this bug can only be produced in this way and not by using the city list.
Operating System
Android 14
Additional Information
Last Screen:com.unciv.ui.screens.worldscreen.WorldScreen
Device Model: SM-M336B
API Level: 34
System Memory: 5389 MB
Available (used by Kernel): 1529 MB
System Low Memory state: false
Java heap limit: 512 MB
Java heap free: 4 MB
Message:
java.lang.NullPointerException
at com.unciv.ui.screens.worldscreen.unit.presenter.SpyPresenter.updateWhenNeeded(SpyPresenter.kt:21)
at com.unciv.ui.screens.worldscreen.unit.UnitTable.update(UnitTable.kt:185)
at com.unciv.ui.screens.worldscreen.WorldScreen.update(WorldScreen.kt:365)
at com.unciv.ui.screens.worldscreen.WorldScreen.render(WorldScreen.kt:727)
at com.badlogic.gdx.Game.render(Game.java:48)
at com.unciv.UncivGame.access$render$s2211858(UncivGame.kt:60)
at com.unciv.UncivGame$wrappedCrashHandlingRender$1.invoke(UncivGame.kt:83)
at com.unciv.UncivGame$wrappedCrashHandlingRender$1.invoke(UncivGame.kt:83)
at com.unciv.ui.crashhandling.CrashHandlingExtensionsKt$wrapCrashHandling$1.invoke(CrashHandlingExtensions.kt:17)
at com.unciv.ui.crashhandling.CrashHandlingExtensionsKt$wrapCrashHandlingUnit$1.invoke(CrashHandlingExtensions.kt:33)
at com.unciv.ui.crashhandling.CrashHandlingExtensionsKt$wrapCrashHandlingUnit$1.invoke(CrashHandlingExtensions.kt:33)
at com.unciv.UncivGame.render(UncivGame.kt:412)
at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:501)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1584)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1283)
Is there an existing issue for this?
Game Version
4.15.5-patch2
Describe the bug
Crash when moving a spy to a city. This only happens if I move it by long-pressing the city in the map, and does not happen when moving it by using the city list, nor does it happen in previous versions. The city can be owned, friendly or enemy.
Steps to Reproduce
->
. This again opens the spy screen.Note that this bug can only be produced in this way and not by using the city list.
Operating System
Android 14
Additional Information
Last Screen:
com.unciv.ui.screens.worldscreen.WorldScreen
Device Model: SM-M336B
API Level: 34
System Memory: 5389 MB
Available (used by Kernel): 1529 MB
System Low Memory state: false
Java heap limit: 512 MB
Java heap free: 4 MB
Message:
Save Mods:
Save Data:
Show Saved Game
The text was updated successfully, but these errors were encountered: