Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Import Image Slices as Volumetric Texture Hangs Infinitely #1186

Open lxw404 opened 8 months ago

lxw404 commented 8 months ago

Describe the bug?

When importing any volume as slices, the importer hangs infinitely at the encoding step.

To Reproduce

Expected behavior

The volume should import properly.

Screenshots

Resonite_Zo26Shv9wr

Resonite Version Number

2024.1.18.775

What Platforms does this occur on?

Windows

What headset if any do you use?

Valve Index, Desktop

Log Files

Import Volume As Slices - 2024.1.18.775 - 2024-01-18 22_33_47.log

Additional Context

As part of testing the recent update, I was importing test volumes to validate changes, however this proved impossible while running into this bug.

Reporters

LuxKitty @ginjake

badhaloninja commented 8 months ago

I noticed this behavior a bit ago, there's a few additional details I noticed

lxw404 commented 8 months ago

I've noticed the same. The slots for the visuals + slicer are eventually created, but the asset never loads.

A possible relevant line in the log:

10:35:28 PM.038 ( 60 FPS)   Exception integrating asset: System.ArgumentException: SetPixelData: size of data to be filled was larger than the size of data available in the source array.
  at (wrapper managed-to-native) UnityEngine.Texture3D.SetPixelDataImplArray(UnityEngine.Texture3D,System.Array,int,int,int,int)
  at UnityEngine.Texture3D.SetPixelData[T] (T[] data, System.Int32 mipLevel, System.Int32 sourceDataStartIndex) [0x00057] in <c5a41139b01b40a09f2ec8dd4a1062f7>:0 
  at UnityFrooxEngineRunner.TextureConnector.UploadTextureDataUnity (UnityFrooxEngineRunner.TextureConnector+TextureUploadData data) [0x00134] in <732e2972bd3d478eac79fc7c9f299cdc>:0 
  at UnityFrooxEngineRunner.TextureConnector+<>c__DisplayClass35_0.<SetTextureData>b__1 () [0x00000] in <732e2972bd3d478eac79fc7c9f299cdc>:0 
  at UnityFrooxEngineRunner.UnityAssetIntegrator.ProcessQueue (System.Double maxMilliseconds, System.Boolean renderThread) [0x00076] in <732e2972bd3d478eac79fc7c9f299cdc>:0 
zahndy commented 6 months ago

I'm running into this, volumetric import is completely broken for me.

shiftyscales commented 4 months ago

@ginjake also ran into this issue in #2248:

Describe the bug?

「Image slices as volumetric texture」 で連続写真をインポートした場合、Importが終わらない場合があります。

なお、同じファイルをNeosVRでimportしたところ問題なくimportすることが出来、 migrateでResoniteに持ってくることが出来ました。

Image slices as volumetric texture When importing a series of photos with “Image slices as volumetric texture”, the import may not be completed.

I imported the same file in NeosVR, and it imported without any problem, I was able to import the same file in NeosVR without any problem and bring it to Resonite by “migrate”.

To Reproduce

下記のzipを解答し、フォルダ毎importする。 import時に「Image slices as volumetric texture」 を選択 VolumeUnlitMaterialとSlicerは生成されるが、何も生成されない。 しばらく待ってもimport中のメッセージが消えない MRIImport.zip

Answer the following zip file and import the whole folder. Select “Image slices as volumetric texture” when importing. VolumeUnlitMaterial and Slicer are generated, but nothing is generated. The message “importing” is not disappearing even after waiting for a while.

Expected behavior

The VolumeUnlitMaterial object is displayed (Image from NeosVR) image

Screenshots

VolumeUnlitMaterial and Slicer are generated, but nothing is generated. The message “importing” is not disappearing even after waiting for a while. image

Resonite Version Number

2024.6.5.1084

What Platforms does this occur on?

Windows

What headset if any do you use?

Desktop

Log Files

DESKTOP-M5QK91C - 2024.6.5.1084 - 2024-06-07 01_16_39.log

Additional Context

No response

Reporters

No response