Skip to content

App not starting correctly with Metal #5103

@ThomasH99

Description

@ThomasH99

With 7.0.246, I compile my app locally with Xcode and get the below trace and after showing the splash screen the screen just turns white and nothing more happens (and no more trace in Xcode).

I've deleted most of my own log messages from the trace.

I can see the SKPayment error: I haven't activated payments yet, but it has compiled earlier before turning on metal, so I guess that shouldn't be a reason.

I also see this in case it's useful:

Image
GSFont: "Untitled1" already exists.
<SKPaymentQueue: 0x12d058a90>: Error in remote proxy while checking server queue: Error Domain=SKInternalErrorDomain Code=12 "(null)" UserInfo={storefront-country-code=USA, client-environment-type=Sandbox}
Failed to create directory /var/mobile/Containers/Data/Application/6AF82F04-85BF-4A08-95FD-5D0A494477B5/Documents/cn1storage/
[EDT] 0:0:0,4 - Codename One revisions: 7dd4e7d08b3442d90959477ee52a5ae8c4361b29
[EDT] 0:0:0,6 - init() - STARTED
<SKPaymentQueue: 0x12d058a90>: Error in remote proxy while checking server queue: Error Domain=SKInternalErrorDomain Code=12 "(null)" UserInfo={storefront-country-code=USA, client-environment-type=Sandbox}
[EDT] 0:0:0,23 - Native Logs Reader initialized correctly
[EDT] 0:0:0,25 - Log started 30/05/2026 00:10
[EDT] 0:0:0,186 - init() - DONE - go to welcome screen...
[EDT] 0:0:0,186 - start()
[EDT] 0:0:0,187 - startApp()
Reachability Flag Status: -R t------ networkStatusForFlags
[EDT] 0:0:4,599 - Form: ScreenMain
Reachability Flag Status: -R t------ networkStatusForFlags
-[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1639: failed assertion `Set Render Pipeline State Validation
For stencil attachment, the renderPipelineState pixelFormat must be MTLPixelFormatInvalid, as no texture is set.
'
warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions