Skip to content

Decode large glTF-binary JSON chunks off the main thread#54

Open
nickdnk wants to merge 2 commits into
Unity-Technologies:mainfrom
nickdnk:decode_large_json
Open

Decode large glTF-binary JSON chunks off the main thread#54
nickdnk wants to merge 2 commits into
Unity-Technologies:mainfrom
nickdnk:decode_large_json

Conversation

@nickdnk

@nickdnk nickdnk commented Jul 16, 2026

Copy link
Copy Markdown

See atteneder#822 - same PR, just this repo instead.

Also adds missing date to changelog, which was missing for some reason.

ReadToEndAsync completes synchronously on a memory stream, stalling the
main thread ~100 ms on a 12.6 MB JSON chunk. Gate the decode through the
defer agent like the parse already is.
@cla-assistant-unity

cla-assistant-unity Bot commented Jul 16, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant