Search Issue Tracker
Fixed
Fixed in 6000.3.14f1, 6000.4.5f1, 6000.5.0b5, 6000.6.0a4
Votes
0
Found in
6000.3.6f1
6000.4.0b6
6000.5.0a7
6000.6.0a1
Issue ID
UUM-133969
Regression
No
Pipes are not working for nested generators
Description
Sending data via {{ProcessorInstance.Pipe}} in a nested generator throws an exception.
Initial setup
Download, unzip and open the attached Unity project {}sap-message-pipe-repro{}.
Reproduction steps
- Open the scene SampleScene
- Enter play mode
Expected behaviour
The editor should run without per-frame exceptions / console spam.
Actual behavior
An exception is thrown every frame, spamming the console.
Reproducible with versions
6000.3.6f1, 6000.4.0b6, 6000.5.0a7
Not reproducible with versions
Not relevant for versions pre 6.3 as the feature did not exist in versions prior to that.
Can’t test with versions
Not relevant for versions pre 6.3.
Tested on (OS):
macOS 26.2
Logs and Links
Stack trace:
{{InvalidOperationException: DualThreadHandle is not valid, cannot get available data.}}
{{UnityEngine.Audio.ProcessorInstance+Pipe.GetAvailableData[TAudioContext] (TAudioContext context) (at /opt/UnitySrc/unity1/Modules/Audio/Public/ScriptableProcessors/ScriptBindings/ScriptableProcessor.bindings.cs:262)}}
{{SynthAsset+Realtime.Process (UnityEngine.Audio.RealtimeContext& context, UnityEngine.Audio.ProcessorInstance+Pipe pipe, UnityEngine.Audio.ChannelBuffer buffer, UnityEngine.Audio.GeneratorInstance+Arguments args) (at Assets/Scripts/Child.cs:23)}}
{{SynthAsset+Realtime.UnityEngine.Audio.GeneratorInstance.IRealtime.Process (UnityEngine.Audio.RealtimeContext& context, UnityEngine.Audio.ProcessorInstance+Pipe pipe, UnityEngine.Audio.ChannelBuffer buffer, UnityEngine.Audio.GeneratorInstance+Arguments args) <0x3c59fc468 + 0x000ff> in <40f815355a454e4a92d147089da3a8d9>:0}}
{{UnityEngine.Audio.IGeneratorProcessorExtensions+JobStruct`1[TUserProcessor].Execute (UnityEngine.Audio.IGeneratorProcessorExtensions+JobStruct`1+Storage[TUserProcessor]& storage, System.IntPtr additionalPtr, System.IntPtr additionalPtr2, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at /opt/UnitySrc/unity1/Modules/Audio/Public/ScriptableProcessors/ScriptBindings/ScriptableGenerator.bindings.cs:578)}}
{{UnityEngine.Audio.ProcessorHeader:wrapper_native_indirect_0x9dee41fb8(IntPtr&, ProcessorHeader, ProcessorFunction, Void)}}
{{UnityEngine.Audio.ProcessorHeader:InvokeProcessor(ProcessorFunction, Void*) (at /opt/UnitySrc/unity1/Modules/Audio/Public/ScriptableProcessors/ScriptBindings/ScriptableProcessor.bindings.cs:627)}}
{{UnityEngine.Audio.RealtimeContext:Process(GeneratorInstance, ChannelBuffer, Arguments) (at /opt/UnitySrc/unity1/Modules/Audio/Public/ScriptableProcessors/ScriptBindings/RealtimeContext.cs:67)}}
{{Realtime:Process(RealtimeContext&, Pipe, ChannelBuffer, Arguments) (at Assets/Scripts/Parent.cs:26)}}
{{Realtime:UnityEngine.Audio.GeneratorInstance.IRealtime.Process(RealtimeContext&, Pipe, ChannelBuffer, Arguments)}}
{{UnityEngine.Audio.JobStruct`1:Execute(Storage&, IntPtr, IntPtr, JobRanges&, Int32) (at /opt/UnitySrc/unity1/Modules/Audio/Public/ScriptableProcessors/ScriptBindings/ScriptableGenerator.bindings.cs:578)}}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Upload Symbols Failed" is thrown when Archive validation is being done in Xcode
- Active quality level set on a new Universal 2D project is not the default quality level when creating a new project
- Inspector Open button does nothing when navigating to a different folder with a locked asset
- Pre-generated XML serializers fail to deserialize types that use polymorphism when the Player is built with the IL2CPP scripting backend
- Editor crashes with error "Failed to present D3D11 swapchain due to device reset/removed" and Player freezes when rendering a particle system while using modified URP package on DX11
Resolution Note:
Fixed in 6000.6.0a4
Resolution Note (fix version 6000.6.0a4):
Fixed in 6000.6.0a4
Resolution Note (fix version 6000.5.0b5):
Fixed in 6000.5.0b5
Resolution Note (fix version 6000.4.5f1):
Fixed in 6000.4.5f1
Resolution Note (fix version 6000.3.14f1):
Fixed in 6000.3.14f1