Solution: LockBufferForWrite: Multiple uploads in flight #13
andymitchellx
started this conversation in
General
Replies: 1 comment
-
I guess this happens because different graphics API expect different sequence of data. This is why I've described API compatibility section in readme.md and in project's wiki. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Solution: I switched from Direct3D11 to Direct3D12 (Project Settings => Player => Other Settings => Graphics APIs)
I think you worked this out before (#8) but I was unfamiliar with the settings or cause. So I thought I'd post this in case it helps others.
Symptoms before switch:
After the switch:
Research:
I tried lots of things over the past couple of days including a) upgrading and downgrading Unity, b) camera settings, c) post processing, d) debugging NSprites and e) verifying the BeginWrite/EndWrites in InstancedProperty.cs.
Some references
https://github.com/sebas77/MillionsCubes/blob/main/Assets/DrawCubes.cs
https://forum.unity.com/threads/entity-rendering-and-compute-buffer-begin-write-gpu-synchronization.1371480/
https://forum.unity.com/threads/computebuffer-beginwrite.1252560/
https://forum.unity.com/threads/computebuffer-beginwrite-takes-a-long-time-if-program-like-obs-open-broadcaster-software-are-activ.943646/
Beta Was this translation helpful? Give feedback.
All reactions