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

Perception camera RequestCapture throws Vulkan framebuffer attachment missing error when -runTest uses -batchmode #603

Open
vikas-shah opened this issue Jul 13, 2023 · 0 comments

Comments

@vikas-shah
Copy link

System details:
Unity 2022.3.4 LTS - 3D HDRP
Perception 1.0.0.preview
Function used: PerceptionCamera.RequestCapture

Ubuntu: 20.04
nvidia-smi output in case it helps:

Thu Jul 13 16:25:26 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03 Driver Version: 535.54.03 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 Quadro T1000 Off | 00000000:01:00.0 Off | N/A |
| N/A 43C P0 6W / 50W | 10MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1876 G /usr/lib/xorg/Xorg 4MiB |
| 0 N/A N/A 3814 G /usr/lib/xorg/Xorg 4MiB |
+---------------------------------------------------------------------------------------+

Test passes when -runTests does not use -batchmode.

When runTest is using -batchmode, it throws this below error

Error:

Missing Vulkan framebuffer attachment image?
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.Perception.GroundTruth.RenderUtilities:LoadPrewarmedShader (string) (at Library/PackageCache/[email protected]/Runtime/GroundTruth/Utilities/RenderUtilities.cs:50)
UnityEngine.Perception.GroundTruth.Sensors.Channels.InstanceIdChannel:.cctor () (at Library/PackageCache/[email protected]/Runtime/GroundTruth/Sensors/Channels/InstanceIdChannel.cs:21)
System.Reflection.RuntimeConstructorInfo:InternalInvoke (object,object[],bool)
System.RuntimeType:CreateInstanceMono (bool,bool)
System.RuntimeType:CreateInstanceSlow (bool,bool,bool,bool)
System.RuntimeType:CreateInstanceDefaultCtor (bool,bool,bool,bool,System.Threading.StackCrawlMark&)
System.Activator:CreateInstance<UnityEngine.Perception.GroundTruth.Sensors.Channels.InstanceIdChannel> ()
UnityEngine.Perception.GroundTruth.PerceptionCamera:EnableChannel<UnityEngine.Perception.GroundTruth.Sensors.Channels.InstanceIdChannel> () (at Library/PackageCache/[email protected]/Runtime/GroundTruth/PerceptionCamera.cs:285)
UnityEngine.Perception.GroundTruth.Labelers.SemanticSegmentationLabeler:Setup () (at Library/PackageCache/[email protected]/Runtime/GroundTruth/Labelers/SemanticSegmentation/SemanticSegmentationLabeler.cs:95)
UnityEngine.Perception.GroundTruth.CameraLabeler:Init (UnityEngine.Perception.GroundTruth.PerceptionCamera) (at Library/PackageCache/[email protected]/Runtime/GroundTruth/Labelers/CameraLabeler.cs:117)
UnityEngine.Perception.GroundTruth.PerceptionCamera:LateUpdate () (at Library/PackageCache/[email protected]/Runtime/GroundTruth/PerceptionCamera.cs:435)

@vikas-shah vikas-shah changed the title Perception camera RequestCapture throws Vulkan framebuffer attachment missing error when run with -batchmode Perception camera RequestCapture throws Vulkan framebuffer attachment missing error when -runTest uses -batchmode Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant