Hey ya’ll!
Running into some errors with the Studio Mesh Exporter workflow. I’m using the Phase 8 plug-in with Unity 2020.3.30f1. I’ve followed the guide here to get things setup. After the initial setup, I wasn’t seeing any errors - when I hit ‘Start Export’ the capture starts playing back choppily and then locks up and starts tossing a bunch of errors like so:
Mesh contains no data at frame 11
UnityEngine.Debug:Log (object)
Depthkit.GeometrySequenceExporter/<ProcessRecording>d__34:MoveNext () (at C:/Users/jesse/Downloads/Depthkit_Studio_Expansion_Package_Phase8_030722/depthkit.studio.meshsequence/Runtime/GeometrySequenceExporter.cs:238)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
and
ArgumentException: ComputeBuffer.GetData() : Accessing 37631952 bytes at offset 0 for Compute Buffer of size 28800000 bytes is not possible.
UnityEngine.ComputeBuffer.GetData (System.Array data) (at <3be1a7ff939c43f181c0a10b5a0189ac>:0)
Depthkit.MeshDownloader.OnGenerate () (at C:/Users/jesse/Downloads/Depthkit_Studio_Expansion_Package_Phase8_030722/depthkit.studio.meshsequence/Runtime/MeshDownloader.cs:69)
Depthkit.DataSource.Generate () (at C:/Users/jesse/Downloads/Depthkit_Studio_Expansion_Package_Phase8_030722/depthkit.core/Runtime/DataSource/DataSource.cs:261)
Depthkit.DataSource.Generate () (at C:/Users/jesse/Downloads/Depthkit_Studio_Expansion_Package_Phase8_030722/depthkit.core/Runtime/DataSource/DataSource.cs:270)
Depthkit.Clip.DoGenerate () (at C:/Users/jesse/Downloads/Depthkit_Studio_Expansion_Package_Phase8_030722/depthkit.core/Runtime/Clip.cs:529)
Depthkit.Clip.LateUpdate () (at C:/Users/jesse/Downloads/Depthkit_Studio_Expansion_Package_Phase8_030722/depthkit.core/Runtime/Clip.cs:729)
If I close down the project and reopen, I get these errors:
Shader warning in 'Depthkit Studio Mesh Source Extract Surface Compute': Program 'ExtractSurfaceFromVolumeWithUVs8x8x8', warning X4714: sum of temp registers and indexable temp registers times 512 threads exceeds the recommended total 16384. Performance may be reduced at kernel ExtractSurfaceFromVolumeWithUVs8x8x8 (on d3d11)
and
Shader warning in 'Depthkit Studio Mesh Source Extract Surface Compute': pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them at kernel ExtractSurfaceFromVolumeWithUVs8x8x8 at C:/Users/jesse/Downloads/Depthkit_Studio_Expansion_Package_Phase8_030722/depthkit.studio/Runtime/Resources/Shaders/Includes/DepthkitStudio.cginc(51) (on d3d11)
Let me know if I could provide anything else that would help to diagnose the issue. Thank you!
