Closed phoskee closed 1 year ago
Which iPad model is this? I can't reproduce this on an iPhone.
iPad Pro m1 11"
I'm also having this issue on an Ipad Air 5.
@phoskee @Nick-Miras Is this a new bug? Did you have this issue in previous versions of the game?
Happened after last update
I can't reproduce this issue on an iPad simulator either, so I may need more logs.
Can either of you try installing Mindustry through TestFlight (here is the invite link) and sending me your logs if the issue is not fixed with that version?
EDIT: It seems the build will only become available on TestFlight once it is reviewed by Apple, which can take 1-2 days...
Ok
Should be available for testing now, use the link above. I got access to an iPad Air 5 device, and it doesn't happen there either, so something very strange is going on.
App crash on startup Until the last update everything worked perfectly, I will take a look at the code between versions to see what changed
Ugh, looks like some build cache issue, as it worked on a simulator right before deploying. Uploaded a fresh new build, try that now.
No way, do you need anything?
Send me the game (crash) logs again. I know it's not a crash, but those include useful system logs.
last log:
[I] [GL] Version: GLES 2.0.0 / Apple Inc. / Apple M1 GPU
[I] [GL] Max texture size: 4096
[I] [GL] Using OpenGL 2 context.
[I] [JAVA] Version: 0
[I] [RAM] Available: 214748364.7 GB
[W] Shader shaders/screenspace.vert | shaders/arkycite.frag:
Fragment shader:
WARNING: 0:34: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
WARNING: 0:43: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/mud.frag:
Fragment shader:
WARNING: 0:27: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/tar.frag:
Fragment shader:
WARNING: 0:27: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/slag.frag:
Fragment shader:
WARNING: 0:30: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/cryofluid.frag:
Fragment shader:
WARNING: 0:31: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[I] [Mindustry] Version: 144.2
[I] [IOSApplication] resumed
[I] Total time to load: 1041ms
[I] Fetching community servers at https://raw.githubusercontent.com/Anuken/Mindustry/master/servers_v7.json
[I] Fetched 44 community servers.
Still the same. crash log
Was the IpadOs version on the Ipad Air 5 device that you used updated to version 16.5?
@phoskee Can you try tabbing in and out of the game a few times, and sending logs again?
last log:
[I] [GL] Version: GLES 2.0.0 / Apple Inc. / Apple M1 GPU
[I] [GL] Max texture size: 4096
[I] [GL] Using OpenGL 2 context.
[I] [JAVA] Version: 0
[I] [RAM] Available: 214748364.7 GB
[W] Shader shaders/screenspace.vert | shaders/arkycite.frag:
Fragment shader:
WARNING: 0:34: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
WARNING: 0:43: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/mud.frag:
Fragment shader:
WARNING: 0:27: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/tar.frag:
Fragment shader:
WARNING: 0:27: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/slag.frag:
Fragment shader:
WARNING: 0:30: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/cryofluid.frag:
Fragment shader:
WARNING: 0:31: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[I] [Mindustry] Version: 144.2
[I] [IOSApplication] resumed
[I] Total time to load: 1041ms
[I] Fetching community servers at https://raw.githubusercontent.com/Anuken/Mindustry/master/servers_v7.json
[I] Fetched 44 community servers.
[I] Attempting to share file /private/var/mobile/Containers/Data/Application/0FD655F4-ABDA-47AC-B7D1-27700944CF71/Library/local/tmp/logs.txt
[I] Success! Presented /private/var/mobile/Containers/Data/Application/0FD655F4-ABDA-47AC-B7D1-27700944CF71/Library/local/tmp/logs.txt
[I] [IOSApplication] paused
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] resumed
[I] [IOSApplication] paused
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] resumed
[I] [IOSApplication] paused
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] resumed
[I] [IOSApplication] paused
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] resumed
[I] [IOSApplication] paused
[I] [IOSApplication] resumed
[I] Attempting to share file /private/var/mobile/Containers/Data/Application/0FD655F4-ABDA-47AC-B7D1-27700944CF71/Library/local/tmp/logs.txt
[I] Success! Presented /private/var/mobile/Containers/Data/Application/0FD655F4-ABDA-47AC-B7D1-27700944CF71/Library/local/tmp/logs.txt
I've identified the problem, a new build with a possible solution should be up in about 30 minutes.
What might be?
There were no changes in the screen code, so I can only assume something happened when I updated XCode versions. The real mystery is why this was never a problem in earlier versions.
Your device reports the screen scaling factor as 1.7195877
, but the framework I use assumes it to either be >= 2.0 (retina screen), or 1.0. Since this screen scaling factor is neither, everything breaks.
A new build is available now.
I am trying 4235, nothing is changed logs show same scale
Still not working. logs 4.txt
Can you try tabbing in and out again and sending logs?
last log:
[I] [GL] Version: GLES 2.0.0 / Apple Inc. / Apple M1 GPU
[I] [GL] Max texture size: 4096
[I] [GL] Using OpenGL 2 context.
[I] [JAVA] Version: 0
[I] [RAM] Available: 214748364.7 GB
[W] Shader shaders/screenspace.vert | shaders/arkycite.frag:
Fragment shader:
WARNING: 0:34: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
WARNING: 0:43: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/mud.frag:
Fragment shader:
WARNING: 0:27: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/tar.frag:
Fragment shader:
WARNING: 0:27: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/slag.frag:
Fragment shader:
WARNING: 0:30: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[W] Shader shaders/screenspace.vert | shaders/cryofluid.frag:
Fragment shader:
WARNING: 0:31: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)
[I] [Mindustry] Version: 144.2
[I] [IOSApplication] resumed
[I] Total time to load: 972ms
[I] Fetching community servers at https://raw.githubusercontent.com/Anuken/Mindustry/master/servers_v7.json
[I] Fetched 44 community servers.
[I] [IOSApplication] paused
[I] [IOSApplication] resumed
[I] [IOSApplication] paused
[I] [IOSApplication] resumed
[I] [IOSApplication] paused
[I] [IOSApplication] resumed
[I] [IOSApplication] paused
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] resumed
[I] [IOSApplication] paused
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] Status bar is not visible
[I] [IOSApplication] Total computed bounds are w=1389.0 h=970.0 nativeScale=1.7195877 device=null
[I] Insets: [0, 0, 0, 34]
[I] [IOSApplication] resumed
Dependency didn't update correctly it seems; released another build. This one really should work - if it does not, send logs again (after tabbing in and out.)
Fixed. Thank you!
Great! I'll submit it for review as a production release. Thanks for testing.
Platform: iOS
Build: 144.1
Issue: As the screenshot, the UI does not respect the actual screen size. Instead, the touch area works as it should
Steps to reproduce: Just open the app
Link(s) to mod(s) used: None
Save file: The (zipped) save file you were playing on when the bug happened. THIS IS REQUIRED FOR ANY ISSUE HAPPENING IN-GAME OR IN MULTIPLAYER, REGARDLESS OF WHETHER YOU THINK IT HAPPENS EVERYWHERE. DO NOT DELETE OR OMIT THIS LINE UNLESS YOU ARE SURE THAT THE ISSUE DOES NOT HAPPEN IN-GAME. IF YOU DO NOT HAVE A SAVE, DON'T WASTE TIME OPENING THIS ISSUE.
If you remove the line above without reading it properly and understanding what it means, I will reap your soul. Even if you're playing on someone's server, you can still save the game to a slot.
(Crash) logs:
Place an X (no spaces) between the brackets to confirm that you have read the line below.