Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Missing RGB pass

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

  1. andrzej_

    andrzej_

    Joined:
    Dec 2, 2016
    Posts:
    78
    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

    Unity Technologies

    Joined:
    Sep 16, 2016
    Posts:
    6
    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:
    78
    Now it's working again. Thanks
     
unityunity