Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The UNKNOWN_OBJECT_TYPE TextureToPointsJob.pixels has been deallocated. All containers must be valid when scheduling a job. #33

Closed
hushuaibo opened this issue Jul 20, 2023 · 5 comments · Fixed by #90 or #98
Assignees
Labels
bug Something isn't working

Comments

@hushuaibo
Copy link

The UNKNOWN_OBJECT_TYPE TextureToPointsJob.pixels has been deallocated. All containers must be valid when scheduling a job.

@hushuaibo
Copy link
Author

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

@Autumn60
Copy link
Contributor

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.

@Autumn60
Copy link
Contributor

Several bugs have been fixed in Autumn60#1
Could you try "develop" branch?

@Autumn60 Autumn60 added the bug Something isn't working label Jul 26, 2023
@RyodoTanaka
Copy link
Member

We need to represent @hushuaibo bug situation.
If anyone meets same error, please report it.

@Autumn60
Copy link
Contributor

Autumn60 commented Dec 8, 2023

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()

@Autumn60 Autumn60 self-assigned this Dec 8, 2023
This was linked to pull requests Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants