Skip to content

[Android emulator] Crash initializing RenderDeviceVk #725

@PauGuillamon

Description

@PauGuillamon

There seems to be a crash when initializing Diligent on an Android emulator, it happens here:
https://github.com/DiligentGraphics/DiligentCore/blob/API256011/Graphics/GraphicsEngineVulkan/src/EngineFactoryVk.cpp#L1424-L1427

I've linked to the tag API256011 for reference but it also happens on latest master branch, commit 454e7ff. I can reproduce it in both my own sample app using DiligentCore and through any of the samples in DiligentSample.

I am building on a MacBook Pro M2 Max with Sequoia 15.7.2, and I have verified it works fine on a Windows x86_64 machine. So I am assuming it has to do somehow with running Android's native Vulkan on an emulator running on Metal on Apple silicon, but I might be wrong. I'll probably be able to test it on an intel MacBook tomorrow.

I can do other tests if you tell me what to test specifically :)

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