Closed hushuaibo closed 6 months ago
When I wanted to use UnitySensors, this issue occurred “The UNKNOWN_OBJECT_TYPE TextureToPointsJob.pixels has been deallocated. All containers must be valid when scheduling a job.” and LivoxMid70 was unable to hit points on my own obstacles
Thanks for the issue report.
This is a known issue, but one that is not reproducible and is difficult to fix. If you don't mind, it would be helpful to know your system environment.
Several bugs have been fixed in https://github.com/Autumn60/UnitySensors/pull/1 Could you try "develop" branch?
We need to represent @hushuaibo bug situation. If anyone meets same error, please report it.
I have found a way to fix it, but I am currently working on other tasks and cannot submit a PR. So I will just describe how to fix it.
After calling AsyncGPUReadback.Request()
Call AsyncGPUReadback.WaitAllRequests()
The UNKNOWN_OBJECT_TYPE TextureToPointsJob.pixels has been deallocated. All containers must be valid when scheduling a job.