IL2CPP causes conflict with Restream & OBS

We have tested this thoroughly. A user who uses the Restream software with OBS was streaming a game. THe Restream using VST 2.x plugin. If the build of the game uses il2cpp, it causes the audio to intermittently be cut off. We tried many different configurations including muting the in-game audio.

We gave the user a Unity build in mono and the sound stopped getting cut off.

Note that this issue only happened with this user because they are using this software called Restream which re-routes their audio.

Loading player data from C:/YGO Omega/YGO Omega_Data/data.unity3d
Initialize engine version: 2021.2.0b8 (3fad0faf7e71)
[Subsystems] Discovering subsystems at path C:/YGO Omega/YGO Omega_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=1
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce RTX 2060 (ID=0x1f15)
    Vendor:   NVIDIA
    VRAM:     5980 MB
    Driver:   30.0.14.7168
<RI> Initializing input.
New input system (experimental) initialized
<RI> Input initialized.
<RI> Initialized touch support.
UnloadTime: 0.429200 ms
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 1485.
Total: 1.198300 ms (FindLiveObjects: 0.110500 ms CreateObjectMapping: 0.055400 ms MarkObjects: 1.024100 ms  DeleteObjects: 0.008000 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 0)
Unloading 2 unused Assets to reduce memory usage. Loaded Objects now: 1490.
Total: 1.470400 ms (FindLiveObjects: 0.190600 ms CreateObjectMapping: 0.065300 ms MarkObjects: 1.191900 ms  DeleteObjects: 0.022100 ms)
Unloading 4 Unused Serialized files (Serialized files now loaded: 58)
Unloading 4932 unused Assets to reduce memory usage. Loaded Objects now: 1991.
Total: 5.978500 ms (FindLiveObjects: 0.826500 ms CreateObjectMapping: 0.667200 ms MarkObjects: 2.733900 ms  DeleteObjects: 1.749700 ms)
Unloading 0 Unused Serialized files (Serialized files now loaded: 58)
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 6922.
Total: 37.798200 ms (FindLiveObjects: 2.464300 ms CreateObjectMapping: 1.019200 ms MarkObjects: 34.282500 ms  DeleteObjects: 0.031400 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 6922.
Total: 41.238700 ms (FindLiveObjects: 0.506400 ms CreateObjectMapping: 0.648900 ms MarkObjects: 40.061600 ms  DeleteObjects: 0.021300 ms)
Unloading 2 Unused Serialized files (Serialized files now loaded: 58)
Unloading 6 unused Assets to reduce memory usage. Loaded Objects now: 63363.
Total: 154.418400 ms (FindLiveObjects: 7.523200 ms CreateObjectMapping: 4.231200 ms MarkObjects: 142.109000 ms  DeleteObjects: 0.553300 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 63399.
Total: 159.896900 ms (FindLiveObjects: 9.672900 ms CreateObjectMapping: 4.528800 ms MarkObjects: 145.048200 ms  DeleteObjects: 0.645600 ms)
Unloading 0 Unused Serialized files (Serialized files now loaded: 58)
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 63399.
Total: 173.312500 ms (FindLiveObjects: 7.627600 ms CreateObjectMapping: 3.361000 ms MarkObjects: 162.172200 ms  DeleteObjects: 0.150700 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 31 unused Assets to reduce memory usage. Loaded Objects now: 65717.
Total: 170.711000 ms (FindLiveObjects: 4.683800 ms CreateObjectMapping: 4.060200 ms MarkObjects: 161.753900 ms  DeleteObjects: 0.212700 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 27 unused Assets to reduce memory usage. Loaded Objects now: 66079.
Total: 170.712500 ms (FindLiveObjects: 11.999200 ms CreateObjectMapping: 4.136800 ms MarkObjects: 154.141200 ms  DeleteObjects: 0.434400 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 10 unused Assets to reduce memory usage. Loaded Objects now: 66356.
Total: 181.856600 ms (FindLiveObjects: 5.925700 ms CreateObjectMapping: 4.700400 ms MarkObjects: 170.542400 ms  DeleteObjects: 0.687300 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 73209.
Total: 173.437300 ms (FindLiveObjects: 5.726200 ms CreateObjectMapping: 5.501700 ms MarkObjects: 162.025500 ms  DeleteObjects: 0.183100 ms)
Unloading 0 Unused Serialized files (Serialized files now loaded: 58)
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 73209.
Total: 177.344800 ms (FindLiveObjects: 11.813200 ms CreateObjectMapping: 4.047400 ms MarkObjects: 161.029600 ms  DeleteObjects: 0.453800 ms)
Auto Size Iteration Count: 100. Final Point Size: 49.9
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
TMPro.TextMeshProUGUI:GenerateTextMesh()
TMPro.TextMeshProUGUI:OnPreRenderCanvas()
TMPro.TextMeshProUGUI:Rebuild(CanvasUpdate)
UnityEngine.UI.CanvasUpdateRegistry:PerformUpdate()
System.Threading.ThreadStart:Invoke()
Auto Size Iteration Count: 100. Final Point Size: 49.95
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
TMPro.TextMeshProUGUI:GenerateTextMesh()
TMPro.TextMeshProUGUI:OnPreRenderCanvas()
TMPro.TextMeshProUGUI:Rebuild(CanvasUpdate)
UnityEngine.UI.CanvasUpdateRegistry:PerformUpdate()
System.Threading.ThreadStart:Invoke()
Unloading 2 Unused Serialized files (Serialized files now loaded: 58)
Unloading 6314 unused Assets to reduce memory usage. Loaded Objects now: 70288.
Total: 310.514100 ms (FindLiveObjects: 6.050000 ms CreateObjectMapping: 6.963700 ms MarkObjects: 274.022300 ms  DeleteObjects: 23.476900 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 6 unused Assets to reduce memory usage. Loaded Objects now: 70256.
Total: 304.642100 ms (FindLiveObjects: 9.213400 ms CreateObjectMapping: 6.119300 ms MarkObjects: 289.101100 ms  DeleteObjects: 0.207900 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 70256.
Total: 292.415200 ms (FindLiveObjects: 6.416500 ms CreateObjectMapping: 6.579800 ms MarkObjects: 277.739900 ms  DeleteObjects: 1.678400 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 185 unused Assets to reduce memory usage. Loaded Objects now: 70258.
Total: 298.619100 ms (FindLiveObjects: 7.497900 ms CreateObjectMapping: 7.353000 ms MarkObjects: 283.284400 ms  DeleteObjects: 0.483200 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 70258.
Total: 294.886500 ms (FindLiveObjects: 6.846600 ms CreateObjectMapping: 8.310400 ms MarkObjects: 278.433300 ms  DeleteObjects: 1.295300 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 2 unused Assets to reduce memory usage. Loaded Objects now: 70258.
Total: 298.846200 ms (FindLiveObjects: 5.284900 ms CreateObjectMapping: 9.201100 ms MarkObjects: 283.931800 ms  DeleteObjects: 0.427700 ms)
Unloading 0 Unused Serialized files (Serialized files now loaded: 58)
Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 70258.
Total: 304.525900 ms (FindLiveObjects: 4.707400 ms CreateObjectMapping: 9.590200 ms MarkObjects: 280.307700 ms  DeleteObjects: 9.919400 ms)
Unloading 1 Unused Serialized files (Serialized files now loaded: 58)
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 70258.
Total: 292.921100 ms (FindLiveObjects: 9.628100 ms CreateObjectMapping: 5.191100 ms MarkObjects: 277.961900 ms  DeleteObjects: 0.139700 ms)
Unloading 0 Unused Serialized files (Serialized files now loaded: 58)
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 70258.
Total: 294.698500 ms (FindLiveObjects: 7.186500 ms CreateObjectMapping: 7.175600 ms MarkObjects: 280.161200 ms  DeleteObjects: 0.174600 ms)
Setting up 8 worker threads for Enlighten.
<color=#ff7337><color=#0099bc><b>DOTWEEN ► </b></color> SAFE MODE ►</color> DOTween's safe mode captured 95 errors. This is usually ok (it's what safe mode is there for) but if your game is encountering issues you should set Log Behaviour to Default in DOTween Utility Panel in order to get detailed warnings when an error is captured (consider that these errors are always on the user side).
- 95 missing target or field errors
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
DG.Tweening.Core.DOTweenComponent:OnDestroy()
Memory Statistics:
[ALLOC_TEMP_TLS] TLS Allocator
  StackAllocators :
    [ALLOC_TEMP_MAIN]
      Peak usage frame count: [0-1.0 KB]: 21777, [1.0 KB-2.0 KB]: 183, [2.0 KB-4.0 KB]: 164, [4.0 KB-8.0 KB]: 22, [8.0 KB-16.0 KB]: 372, [16.0 KB-32.0 KB]: 17, [32.0 KB-64.0 KB]: 4, [64.0 KB-128.0 KB]: 6738, [128.0 KB-256.0 KB]: 18, [256.0 KB-0.5 MB]: 10, [0.5 MB-1.0 MB]: 4, [1.0 MB-2.0 MB]: 2, [2.0 MB-4.0 MB]: 3, [4.0 MB-8.0 MB]: 18
      Initial Block Size 4.0 MB
      Current Block Size 8.0 MB
      Peak Allocated Bytes 8.0 MB
      Overflow Count 38
    [ALLOC_TEMP_Loading.AsyncRead]
      Initial Block Size 64.0 KB
      Current Block Size 128.0 KB
      Peak Allocated Bytes 127.8 KB
      Overflow Count 0
    [ALLOC_TEMP_Loading.PreloadManager]
      Initial Block Size 256.0 KB
      Current Block Size 0.5 MB
      Peak Allocated Bytes 508.8 KB
      Overflow Count 164
    [ALLOC_TEMP_Background Job.Worker 8]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 1.2 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 6]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 0]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 10]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 9]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 5]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 14]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 6]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 4.3 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 4]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_ReadCacheIndex] x 2
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 4.3 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 14]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 3]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 13]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 12]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_EnlightenWorker] x 8
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 15]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 1]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 3.0 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 2]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 7]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 472 B
      Overflow Count 0
    [ALLOC_TEMP_UnityGfxDeviceWorker]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 6.0 KB
      Overflow Count 0
    [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 0 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 5]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 472 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 9]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 13]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 8]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 7]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 1]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 2]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 3]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 472 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 11]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 10]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 0]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 492 B
      Overflow Count 0
    [ALLOC_TEMP_HIDInput]
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 10.8 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 11]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 12]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 88.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 4]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 472 B
      Overflow Count 0
    [ALLOC_TEMP_BatchDeleteObjects]
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
[ALLOC_DEFAULT] Dual Thread Allocator
  Peak main deferred allocation count 40912
    [ALLOC_BUCKET]
      Peak usage frame count:
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocation count: 16 Bytes (51 Blocks: 52224 buckets) Failed: 77596, 32 Bytes (12 Blocks: 6144 buckets) Failed: 294314, 48 Bytes (38 Blocks: 12970 buckets) Failed: 7580483, 64 Bytes (20 Blocks: 5120 buckets) Failed: 23549, 80 Bytes (16 Blocks: 3276 buckets) Failed: 35025, 96 Bytes (113 Blocks: 19285 buckets) Failed: 198975, 112 Bytes (4 Blocks: 585 buckets) Failed: 122498, 128 Bytes (2 Blocks: 256 buckets) Failed: 40956,
    [ALLOC_DEFAULT_MAIN]
      Peak usage frame count: [8.0 MB-16.0 MB]: 145, [16.0 MB-32.0 MB]: 106, [32.0 MB-64.0 MB]: 28738, [64.0 MB-128.0 MB]: 343
      Requested Pool Size 16.0 MB
      Peak Pool count 5
      Peak Allocated memory 64.3 MB
      Peak Large allocation bytes 16.1 MB
    [ALLOC_DEFAULT_THREAD]
      Peak usage frame count: [4.0 MB-8.0 MB]: 1, [16.0 MB-32.0 MB]: 1, [32.0 MB-64.0 MB]: 29292, [64.0 MB-128.0 MB]: 38
      Requested Pool Size 16.0 MB
      Peak Pool count 7
      Peak Allocated memory 123.3 MB
      Peak Large allocation bytes 242.3 MB
[ALLOC_TEMP_JOB_1_FRAME]
  Peak usage frame count: [0-1.0 KB]: 29332
  Initial Block Size 2.0 MB
  Used Block Count 1
  Overflow Count (too large) 0
  Overflow Count (full) 0
[ALLOC_TEMP_JOB_2_FRAMES]
  Peak usage frame count: [0-1.0 KB]: 29332
  Initial Block Size 2.0 MB
  Used Block Count 1
  Overflow Count (too large) 0
  Overflow Count (full) 0
[ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
  Peak usage frame count: [0-1.0 KB]: 29332
  Initial Block Size 2.0 MB
  Used Block Count 4
  Overflow Count (too large) 0
  Overflow Count (full) 0
[ALLOC_TEMP_JOB_ASYNC (Background)]
  Peak usage frame count: [0-1.0 KB]: 29332
  Initial Block Size 1.0 MB
  Used Block Count 14
  Overflow Count (too large) 0
  Overflow Count (full) 0
[ALLOC_GFX] Dual Thread Allocator
  Peak main deferred allocation count 5
    [ALLOC_BUCKET]
      Peak usage frame count:
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocation count: 16 Bytes (51 Blocks: 52224 buckets) Failed: 77596, 32 Bytes (12 Blocks: 6144 buckets) Failed: 294314, 48 Bytes (38 Blocks: 12970 buckets) Failed: 7580483, 64 Bytes (20 Blocks: 5120 buckets) Failed: 23549, 80 Bytes (16 Blocks: 3276 buckets) Failed: 35025, 96 Bytes (113 Blocks: 19285 buckets) Failed: 198975, 112 Bytes (4 Blocks: 585 buckets) Failed: 122498, 128 Bytes (2 Blocks: 256 buckets) Failed: 40956,
    [ALLOC_GFX_MAIN]
      Peak usage frame count: [64.0 KB-128.0 KB]: 94, [128.0 KB-256.0 KB]: 1, [2.0 MB-4.0 MB]: 1, [16.0 MB-32.0 MB]: 29236
      Requested Pool Size 16.0 MB
      Peak Pool count 1
      Peak Allocated memory 23.7 MB
      Peak Large allocation bytes 16.0 MB
    [ALLOC_GFX_THREAD]
      Peak usage frame count: [1.0 KB-2.0 KB]: 11, [128.0 KB-256.0 KB]: 78, [1.0 MB-2.0 MB]: 1, [2.0 MB-4.0 MB]: 115, [8.0 MB-16.0 MB]: 29127
      Requested Pool Size 16.0 MB
      Peak Pool count 1
      Peak Allocated memory 9.4 MB
      Peak Large allocation bytes 0 B
[ALLOC_CACHEOBJECTS] Dual Thread Allocator
  Peak main deferred allocation count 139
    [ALLOC_BUCKET]
      Peak usage frame count:
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocation count: 16 Bytes (51 Blocks: 52224 buckets) Failed: 77596, 32 Bytes (12 Blocks: 6144 buckets) Failed: 294314, 48 Bytes (38 Blocks: 12970 buckets) Failed: 7580483, 64 Bytes (20 Blocks: 5120 buckets) Failed: 23549, 80 Bytes (16 Blocks: 3276 buckets) Failed: 35025, 96 Bytes (113 Blocks: 19285 buckets) Failed: 198975, 112 Bytes (4 Blocks: 585 buckets) Failed: 122498, 128 Bytes (2 Blocks: 256 buckets) Failed: 40956,
    [ALLOC_CACHEOBJECTS_MAIN]
      Peak usage frame count: [8.0 MB-16.0 MB]: 96, [16.0 MB-32.0 MB]: 98, [32.0 MB-64.0 MB]: 29138
      Requested Pool Size 4.0 MB
      Peak Pool count 6
      Peak Allocated memory 41.8 MB
      Peak Large allocation bytes 25.9 MB
    [ALLOC_CACHEOBJECTS_THREAD]
      Peak usage frame count: [64.0 KB-128.0 KB]: 57, [128.0 KB-256.0 KB]: 29, [1.0 MB-2.0 MB]: 3, [2.0 MB-4.0 MB]: 120, [4.0 MB-8.0 MB]: 8, [8.0 MB-16.0 MB]: 9328, [16.0 MB-32.0 MB]: 19787
      Requested Pool Size 4.0 MB
      Peak Pool count 6
      Peak Allocated memory 17.3 MB
      Peak Large allocation bytes 0 B
[ALLOC_TYPETREE] Dual Thread Allocator
  Peak main deferred allocation count 0
    [ALLOC_BUCKET]
      Peak usage frame count:
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocation count: 16 Bytes (51 Blocks: 52224 buckets) Failed: 77596, 32 Bytes (12 Blocks: 6144 buckets) Failed: 294314, 48 Bytes (38 Blocks: 12970 buckets) Failed: 7580483, 64 Bytes (20 Blocks: 5120 buckets) Failed: 23549, 80 Bytes (16 Blocks: 3276 buckets) Failed: 35025, 96 Bytes (113 Blocks: 19285 buckets) Failed: 198975, 112 Bytes (4 Blocks: 585 buckets) Failed: 122498, 128 Bytes (2 Blocks: 256 buckets) Failed: 40956,
    [ALLOC_TYPETREE_MAIN]
      Peak usage frame count: [1.0 KB-2.0 KB]: 88, [2.0 KB-4.0 KB]: 7, [4.0 KB-8.0 KB]: 1, [8.0 KB-16.0 KB]: 1, [16.0 KB-32.0 KB]: 3, [32.0 KB-64.0 KB]: 6, [64.0 KB-128.0 KB]: 14, [128.0 KB-256.0 KB]: 26, [256.0 KB-0.5 MB]: 48, [0.5 MB-1.0 MB]: 29138
      Requested Pool Size 2.0 MB
      Peak Pool count 1
      Peak Allocated memory 0.6 MB
      Peak Large allocation bytes 0 B
    [ALLOC_TYPETREE_THREAD]
      Peak usage frame count: [8.0 KB-16.0 KB]: 88, [16.0 KB-32.0 KB]: 190, [32.0 KB-64.0 KB]: 29054
      Requested Pool Size 2.0 MB
      Peak Pool count 1
      Peak Allocated memory 39.1 KB
      Peak Large allocation bytes 0 B
18:15:06.730: CPU Name: AMD Ryzen 7 4800H with Radeon Graphics   
18:15:06.730: CPU Speed: 2895MHz
18:15:06.730: Physical Cores: 8, Logical Cores: 16
18:15:06.730: Physical Memory: 16253MB Total, 9866MB Free
18:15:06.730: Windows Version: 10.0 Build 19043 (release: 2009; revision: 1165; 64-bit)
18:15:06.730: Running as administrator: false
18:15:06.731: Aero is Enabled (Aero is always on for windows 8 and above)
18:15:06.731: Windows 10 Gaming Features:
18:15:06.731:     Game DVR: On
18:15:06.732: Sec. Software Status:
18:15:06.734:     Microsoft Defender Antivirus: enabled (AV)
18:15:06.735:     Windows Firewall: enabled (FW)
18:15:06.735: Current Date/Time: 2021-08-22, 18:15:06
18:15:06.735: Browser Hardware Acceleration: true
18:15:06.735: Portable mode: false
18:15:06.968: OBS 27.0.1 (64-bit, windows)
18:15:06.968: ---------------------------------
18:15:07.034: ---------------------------------
18:15:07.034: audio settings reset:
18:15:07.034:     samples per sec: 48000
18:15:07.034:     speakers:        2
18:15:07.035: ---------------------------------
18:15:07.035: Initializing D3D11...
18:15:07.035: Available Video Adapters:
18:15:07.037:     Adapter 0: NVIDIA GeForce RTX 2060
18:15:07.037:       Dedicated VRAM: 1975517184
18:15:07.037:       Shared VRAM:    4226451456
18:15:07.037:       PCI ID:         10de:1f15
18:15:07.038:       Driver Version: 30.0.14.7168
18:15:07.038:       output 0: pos={0, 0}, size={1920, 1080}, attached=true, refresh=120, name=ED320QR S
18:15:07.038:       output 1: pos={1920, 0}, size={1920, 1080}, attached=true, refresh=144, name=
18:15:07.040: Loading up D3D11 on adapter NVIDIA GeForce RTX 2060 (0)
18:15:07.145: D3D11 loaded successfully, feature level used: b000
18:15:07.145: DXGI increase maximum frame latency success
18:15:07.145: D3D11 GPU priority setup failed (not admin?)
18:15:07.705: ---------------------------------
18:15:07.705: video settings reset:
18:15:07.705:     base resolution:   1920x1080
18:15:07.705:     output resolution: 1920x1080
18:15:07.705:     downscale filter:  Bicubic
18:15:07.705:     fps:               60/1
18:15:07.705:     format:            NV12
18:15:07.705:     YUV mode:          709/Partial
18:15:07.705: NV12 texture support enabled
18:15:07.706: Audio monitoring device:
18:15:07.706:     name: CABLE Input (VB-Audio Virtual Cable)
18:15:07.706:     id: {0.0.0.00000000}.{5d697b9d-1f94-4caa-8a56-d8eabab6b778}
18:15:07.709: ---------------------------------
18:15:07.710: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin
18:15:07.714: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
18:15:07.715: Failed to load 'en-US' text for module: 'decklink-captions.dll'
18:15:07.716: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
18:15:07.825: [AMF] Version 2.7.0 loaded (Compiled: 1.4.14.0, Runtime: 1.4.17.0, Library: 1;4;17;0;20.10.28.05;202009291654;CL#2179654).
18:15:07.826: [AMF] [H264/AVC] Not supported by any GPU, disabling...
18:15:07.826: [AMF] [H265/HEVC] Not supported by any GPU, disabling...
18:15:07.836: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin
18:15:07.843: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin
18:15:07.844: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
18:15:07.849: [obs-browser]: Version 2.14.3
18:15:07.849: [obs-browser]: CEF Version 75.1.16+g16a67c4+chromium-75.0.3770.100
18:15:07.855: NVENC supported
18:15:07.857: [noise suppress: Nvidia RTX denoiser disabled, redistributable not found]
18:15:08.054: Skipping module '../../obs-plugins/64bit/Spout.dll', not an OBS plugin
18:15:08.055: Skipping module '../../obs-plugins/64bit/SpoutLibrary.dll', not an OBS plugin
18:15:08.059: Couldn't find VLC installation, VLC video source disabled
18:15:08.096: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
18:15:08.096: No blackmagic support
18:15:08.102: [win_spout] OpenDX11
18:15:08.130: [win_spout] created device (0x7E8C1D08)
18:15:08.131: [win_spout] win-spout loaded!
18:15:08.133: ---------------------------------
18:15:08.133:   Loaded Modules:
18:15:08.133:     win-wasapi.dll
18:15:08.133:     win-spout.dll
18:15:08.133:     win-mf.dll
18:15:08.133:     win-dshow.dll
18:15:08.133:     win-decklink.dll
18:15:08.133:     win-capture.dll
18:15:08.133:     win-asio.dll
18:15:08.133:     vlc-video.dll
18:15:08.133:     text-freetype2.dll
18:15:08.133:     rtmp-services.dll
18:15:08.133:     obs-x264.dll
18:15:08.133:     obs-vst.dll
18:15:08.133:     obs-transitions.dll
18:15:08.133:     obs-text.dll
18:15:08.133:     obs-qsv11.dll
18:15:08.133:     obs-outputs.dll
18:15:08.133:     obs-filters.dll
18:15:08.133:     obs-ffmpeg.dll
18:15:08.133:     obs-browser.dll
18:15:08.133:     image-source.dll
18:15:08.133:     frontend-tools.dll
18:15:08.133:     enc-amf.dll
18:15:08.133:     decklink-ouput-ui.dll
18:15:08.133:     decklink-captions.dll
18:15:08.133:     coreaudio-encoder.dll
18:15:08.133: ---------------------------------
18:15:08.133: ==== Startup complete ===============================================
18:15:08.144: All scene data cleared
18:15:08.144: ------------------------------------------------
18:15:08.212: WASAPI: Device 'Main Output 1/2 (2- Audient EVO8)' [48000 Hz] initialized
18:15:08.213: [Loaded global audio device]: 'Desktop Audio'
18:15:08.243: [win_spout] [(null)] initialising spout source
18:15:08.246: [duplicator-monitor-capture: 'Display Capture'] update settings:
18:15:08.246:     display: 1 (1920x1080)
18:15:08.246:     cursor: true
18:15:08.246:     method: DXGI
18:15:08.337: WASAPI: Device 'VoiceMeeter Output (VB-Audio VoiceMeeter VAIO)' [44100 Hz] initialized
18:15:08.430: [win_spout] [Synthesia] Sender  has changed / gone away. Resetting
18:15:08.430: [win_spout] [Synthesia] No active Spout cameras
18:15:08.430: Switched to scene 'Game No GreenScreen'
18:15:08.430: ------------------------------------------------
18:15:08.430: Loaded scenes:
18:15:08.430: - scene 'Starting Soon':
18:15:08.431:     - source: 'Synthesia' (spout_capture)
18:15:08.431:     - source: 'Display Capture' (monitor_capture)
18:15:08.431:     - source: 'Nn' (group)
18:15:08.431:         - source: 'Nephew Network Logo' (text_gdiplus_v2)
18:15:08.431:         - source: 'nephew network text' (text_gdiplus_v2)
18:15:08.431:     - source: 'sub goal' (text_gdiplus_v2)
18:15:08.431:     - source: 'Chatbox' (browser_source)
18:15:08.431:     - source: 'Alert Box' (browser_source)
18:15:08.431:     - source: 'CounsinCoy' (text_gdiplus_v2)
18:15:08.431:     - source: 'starting soon' (text_gdiplus_v2)
18:15:08.431:     - source: 'emotewall' (browser_source)
18:15:08.431:     - source: 'DAW' (wasapi_input_capture)
18:15:08.431:         - monitoring: monitor and output
18:15:08.431:         - filter: 'VST 2.x Plug-in' (vst_filter)
18:15:08.431: - scene 'Main':
18:15:08.431:     - source: 'DAW' (wasapi_input_capture)
18:15:08.431:         - monitoring: monitor and output
18:15:08.431:         - filter: 'VST 2.x Plug-in' (vst_filter)
18:15:08.431:     - source: 'Synthesia' (spout_capture)
18:15:08.431:     - source: 'Display Capture' (monitor_capture)
18:15:08.431:     - source: '720 piano cam' (dshow_input)
18:15:08.431:         - filter: 'Chroma Key' (chroma_key_filter_v2)
18:15:08.431:     - source: 'Nn 2' (group)
18:15:08.431:         - source: 'Nephew Network Logo' (text_gdiplus_v2)
18:15:08.431:         - source: 'nephew network text' (text_gdiplus_v2)
18:15:08.431:     - source: 'laptop cam' (dshow_input)
18:15:08.431:         - filter: 'Chroma Key' (chroma_key_filter_v2)
18:15:08.431:     - source: 'sub goal' (text_gdiplus_v2)
18:15:08.431:     - source: 'Nvidia Broadcast' (dshow_input)
18:15:08.431:         - filter: 'Chroma Key' (chroma_key_filter_v2)
18:15:08.431:     - source: 'Nvidia Broadcast' (dshow_input)
18:15:08.431:         - filter: 'Chroma Key' (chroma_key_filter_v2)
18:15:08.431:     - source: 'Chatbox' (browser_source)
18:15:08.431:     - source: 'Alert Box' (browser_source)
18:15:08.431:     - source: 'emotewall' (browser_source)
18:15:08.431: - scene 'Lower Left':
18:15:08.431:     - source: 'Synthesia' (spout_capture)
18:15:08.431:     - source: 'Display Capture' (monitor_capture)
18:15:08.431:     - source: 'Nn' (group)
18:15:08.431:         - source: 'Nephew Network Logo' (text_gdiplus_v2)
18:15:08.431:         - source: 'nephew network text' (text_gdiplus_v2)
18:15:08.431:     - source: 'sub goal' (text_gdiplus_v2)
18:15:08.431:     - source: 'Nvidia Broadcast' (dshow_input)
18:15:08.431:         - filter: 'Chroma Key' (chroma_key_filter_v2)
18:15:08.431:     - source: 'Chatbox' (browser_source)
18:15:08.431:     - source: 'Alert Box' (browser_source)
18:15:08.431:     - source: 'emotewall' (browser_source)
18:15:08.431:     - source: 'DAW' (wasapi_input_capture)
18:15:08.431:         - monitoring: monitor and output
18:15:08.431:         - filter: 'VST 2.x Plug-in' (vst_filter)
18:15:08.431: - scene 'Game No GreenScreen':
18:15:08.431:     - source: 'DAW' (wasapi_input_capture)
18:15:08.431:         - monitoring: monitor and output
18:15:08.431:         - filter: 'VST 2.x Plug-in' (vst_filter)
18:15:08.431:     - source: 'Synthesia' (spout_capture)
18:15:08.431:     - source: 'Display Capture' (monitor_capture)
18:15:08.431:     - source: 'Nn' (group)
18:15:08.431:         - source: 'Nephew Network Logo' (text_gdiplus_v2)
18:15:08.431:         - source: 'nephew network text' (text_gdiplus_v2)
18:15:08.431:     - source: 'sub goal' (text_gdiplus_v2)
18:15:08.431:     - source: 'Nvidia Broadcast' (dshow_input)
18:15:08.431:         - filter: 'Chroma Key' (chroma_key_filter_v2)
18:15:08.431:     - source: 'border' (image_source)
18:15:08.431:     - source: 'Chatbox' (browser_source)
18:15:08.431:     - source: 'Alert Box' (browser_source)
18:15:08.431:     - source: 'emotewall' (browser_source)
18:15:08.431: - scene 'Be Right Back':
18:15:08.431:     - source: 'Synthesia' (spout_capture)
18:15:08.431:     - source: 'Display Capture' (monitor_capture)
18:15:08.431:     - source: 'Nn' (group)
18:15:08.431:         - source: 'Nephew Network Logo' (text_gdiplus_v2)
18:15:08.431:         - source: 'nephew network text' (text_gdiplus_v2)
18:15:08.431:     - source: 'sub goal' (text_gdiplus_v2)
18:15:08.431:     - source: 'Chatbox' (browser_source)
18:15:08.431:     - source: 'Alert Box' (browser_source)
18:15:08.431:     - source: 'CounsinCoy' (text_gdiplus_v2)
18:15:08.431:     - source: 'be right back' (text_gdiplus_v2)
18:15:08.431:     - source: 'emotewall' (browser_source)
18:15:08.431:     - source: 'DAW' (wasapi_input_capture)
18:15:08.431:         - monitoring: monitor and output
18:15:08.431:         - filter: 'VST 2.x Plug-in' (vst_filter)
18:15:08.431: ------------------------------------------------
18:15:09.634: ---------------------------------
18:15:09.634: [DShow Device: 'laptop cam'] settings updated:
18:15:09.634:     video device: Integrated Camera
18:15:09.634:     video path: \\?\usb#vid_174f&pid_244c&mi_00#7&29ecd27f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
18:15:09.634:     resolution: 1280x720
18:15:09.634:     flip: 0
18:15:09.634:     fps: 30.00 (interval: 333333)
18:15:09.634:     format: MJPEG
18:15:09.651: ---------------------------------
18:15:09.651: [DShow Device: '720 piano cam'] settings updated:
18:15:09.651:     video device: USB Video Device
18:15:09.651:     video path: \\?\usb#vid_046d&pid_0825&mi_00#9&28b295ed&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
18:15:09.651:     resolution: 1280x720
18:15:09.651:     flip: 0
18:15:09.651:     fps: 30.00 (interval: 333333)
18:15:09.651:     format: MJPEG
18:15:10.131: ---------------------------------
18:15:10.131: [DShow Device: 'Nvidia Broadcast'] settings updated:
18:15:10.131:     video device: Camera (NVIDIA Broadcast)
18:15:10.131:     video path:
18:15:10.131:     resolution: 1920x1080
18:15:10.131:     flip: 0
18:15:10.131:     fps: 30.00 (interval: 333333)
18:15:10.131:     format: ARGB
18:15:10.806: error:   unable to decode APP fields: Invalid data found when processing input
18:15:18.001: Virtual output started
18:15:18.005: ==== Virtual Camera Start ==========================================
18:15:52.394: Settings changed (advanced)
18:15:52.395: ------------------------------------------------

Hi @gamefox87 ,

Passing this on from the audio team:

The cutting off could be caused by some calculation ending up producing invalid floating point numbers that break all audio processing further down the line. If there is any way to capture the audio in OBS that might be useful. You could also try to throw https://github.com/Unity-Technologies/NativeAudioPlugins/blob/master/Assets/scripts/AudioRecorder.cs on the AudioListener to see if the broken audio is in there (assuming here you are using the AudioSource API and not stuff like DSPGraph which mixes in audio at a later point).

It writes a .wav in the native audio format (32 bit float, so errors should be clearly visible there). You’d need to tweak the path so that it can write to somewhere on the User’s disk. Also note that https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnApplicationQuit.html works differently on different platforms, so you might have to close the .wav explicitly, as the header information is the last thing written to adjust for the unknown length of the recording.