Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Missing RGB pass

Discussion in 'Unity Simulation' started by andrzej_, Jul 3, 2020.

Thread Status:
Not open for further replies.
  1. andrzej_

    andrzej_

    Joined:
    Dec 2, 2016
    Posts:
    81
    I've just updated the perception package in my project to 0.2.0 from 0.1.0 and now the RGB folder is empty (semantic segmentation renders just fine).
    Am I missing something here? I can't even turn off the capture Rgb Images option.

    upload_2020-7-3_16-49-14.png

    this error pops-up every frame:

    InvalidOperationException: Jobs can only create Temp memory
    Unity.Collections.LowLevel.Unsafe.DisposeSentinel.Create (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle& safety, Unity.Collections.LowLevel.Unsafe.DisposeSentinel& sentinel, System.Int32 callSiteStackDepth, Unity.Collections.Allocator allocator) (at <3dc54541a2574ac7826a004a212a4332>:0)
    Unity.Collections.NativeArray`1[T].Allocate (System.Int32 length, Unity.Collections.Allocator allocator, Unity.Collections.NativeArray`1[T]& array) (at <3dc54541a2574ac7826a004a212a4332>:0)
    Unity.Collections.NativeArray`1[T]..ctor (System.Int32 length, Unity.Collections.Allocator allocator, Unity.Collections.NativeArrayOptions options) (at <3dc54541a2574ac7826a004a212a4332>:0)
    UnityEngine.Perception.GroundTruth.PerceptionCamera.FlipImageY (System.Byte[] dataColorBuffer, System.Int32 height) (at Library/PackageCache/com.unity.perception@0.2.0-preview.1/Runtime/GroundTruth/PerceptionCamera.cs:214)
    UnityEngine.Perception.GroundTruth.PerceptionCamera+<>c__DisplayClass26_0.<CaptureRgbData>b__1 (Unity.Simulation.AsyncRequest`1[T] r) (at Library/PackageCache/com.unity.perception@0.2.0-preview.1/Runtime/GroundTruth/PerceptionCamera.cs:176)
    Unity.Simulation.AsyncRequest`1[T].InvokeWaitCallback (System.Object functor) (at Library/PackageCache/com.unity.simulation.core@0.0.10-preview.14/Runtime/AsyncRequest.cs:356)
    Unity.Simulation.AsyncRequest`1+<>c__DisplayClass17_0[T].<DispatchWithJobSystem>b__0 () (at Library/PackageCache/com.unity.simulation.core@0.0.10-preview.14/Runtime/AsyncRequest.cs:402)
    Unity.Simulation.LambdaJob.Execute () (at Library/PackageCache/com.unity.simulation.core@0.0.10-preview.14/Runtime/LambdaJob.cs:16)
    Unity.Jobs.IJobExtensions+JobStruct`1[T].Execute (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at <3dc54541a2574ac7826a004a212a4332>:0)
     
    Last edited: Jul 3, 2020
  2. JonHUnity

    JonHUnity

    Joined:
    Sep 16, 2016
    Posts:
    21
    There is a known incompatibility between Perception 0.2.0 and Unity Simulation Capture 0.0.10-preview.8 and Unity Simulation Core 0.0.10-preview.14.

    I would suggest switching to Unity Simulation Capture 0.0.10-preview.6 and Unity Simulation Core 0.0.10-preview.8 while we work to address the issue. Thanks for the report, and let us know if you hit any more issues.
     
  3. andrzej_

    andrzej_

    Joined:
    Dec 2, 2016
    Posts:
    81
    Now it's working again. Thanks
     
Thread Status:
Not open for further replies.