@jkeon Feel free to tag this for further improvement or future fixing in an issue. This was a naive attempt at fixing the issue.
What is the current behaviour?
Using the deferred array in a synchronous context always results in a 0 length array.
What is the new behaviour?
EntityProxyDataStream now correctly detects when the read dependency is complete and constructs a normal NativeArray<T> and passes that into the DataStreamActiveReader.
@jkeon Feel free to tag this for further improvement or future fixing in an issue. This was a naive attempt at fixing the issue.
What is the current behaviour?
Using the deferred array in a synchronous context always results in a 0 length array.
What is the new behaviour?
EntityProxyDataStream
now correctly detects when the read dependency is complete and constructs a normalNativeArray<T>
and passes that into theDataStreamActiveReader
.What issues does this resolve?
What PRs does this depend on?
Does this introduce a breaking change?