UGUIDOTS
UGUIDOTS copied to clipboard
Command Buffer Null Reference
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.CommandBufferPool+<>c.<.cctor>b__4_0 (UnityEngine.Rendering.CommandBuffer x)
There should be a check for when I release the CommandBuffer if you never created one to begin with.
https://github.com/InitialPrefabs/UGUIDOTS/commit/9976a9e03f94ebf8fdcf1d4630c58a8574c85ef7
Added in checks to ensure that a CommandBuffer is disposed and released if it's not null. I will close this issue when I finish merging everything to the main branch.