-
Notifications
You must be signed in to change notification settings - Fork 4.9k

Description
Camera Model: L515
Firmware Version: 01.04.01.00
OS: Win 10 1909 18363.900 (PC)
SDK: 2.35.2
Language: Unity 2019.3.12f1
Imported the RealSense UnityPackage from latest 2.35.2 release, running the StartHere scene and clicking START on the Point Cloud Processing Blocks (Depth) results in console repeatedly logging the following error below. I tested the device in RealSense Viewer 2.35.2 and updated firmware in there, all seems to be working outside of Unity, also made sure to close viewer before attempting to run the Unity example scene.
The <0x01>,<0x02> in the out of range exception show as invalid characters in the unity log ( it just looks like [,] )
ExternalException: rs2_set_option(options:000001BE9D2BEF30, option:Filter Magnitude, value:0)
Rethrow as ArgumentException: Given value 0 is outside [<0x01>,<0x02>] range!
Intel.RealSense.ErrorMarshaler.MarshalNativeToManaged (System.IntPtr pNativeData) (at :0)
Intel.RealSense.OptionInternal.set_Value (System.Single value) (at :0)
RsPointCloud.UpdateOptions (System.Boolean isComposite) (at Assets/RealSenseSDK2.0/Scripts/ProcessingBlocks/RsPointCloud.cs:64)
RsPointCloud.Process (Intel.RealSense.Frame frame, Intel.RealSense.FrameSource frameSource) (at Assets/RealSenseSDK2.0/Scripts/ProcessingBlocks/RsPointCloud.cs:57)
RsProcessingPipe.ProcessFrame (Intel.RealSense.Frame frame, Intel.RealSense.FrameSource src) (at Assets/RealSenseSDK2.0/Scripts/RsProcessingPipe.cs:99)
UnityEngine.Debug:LogException(Exception)
RsProcessingPipe:ProcessFrame(Frame, FrameSource) (at Assets/RealSenseSDK2.0/Scripts/RsProcessingPipe.cs:119)
Intel.RealSense.CustomProcessingBlock:ProcessingBlockCallback(IntPtr, IntPtr, IntPtr)
Intel.RealSense.NativeMethods:rs2_process_frame(IntPtr, IntPtr, Object&)
Intel.RealSense.CustomProcessingBlock:Process(Frame)
RsDevice:RaiseSampleEvent(Frame) (at Assets/RealSenseSDK2.0/Scripts/RsDevice.cs:148)
RsDevice:WaitForFrames() (at Assets/RealSenseSDK2.0/Scripts/RsDevice.cs:160)
System.Threading.ThreadHelper:ThreadStart()