Skip to content

GLRenderer.updateUniform's assert fb.remaining() == 16 assertion was triggered once, when loading a very large asset on android #2554

@riccardobl

Description

@riccardobl

I have no idea what caused this, or even if it is an issue at all.
Basically I tried to load a very big gltf model on an android 13 device that is not supposed to be capable of rendering it at all, and I've got this assertion triggered during load:

afaik OOM or other errors, that are expected in this case, should not meddle with the native buffers position, so this is strange.

I am opening this issue to, just in case, since it might be a race condition that manifests itself only during very heavy loads.

Also: I managed to reproduce this only once.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions