MobileNeRF-Unity-Viewer icon indicating copy to clipboard operation
MobileNeRF-Unity-Viewer copied to clipboard

Where is MobileNeRF -> Asset Downloads

Open yosun opened this issue 2 years ago • 12 comments

MobileNeRF -> Asset Downloads does not seem to exist?

Import From Disk seems to be the only option?

yosun avatar May 15 '23 10:05 yosun

Hmm that's weird. I can not reproduce that right now. Which version of Unity are you on? OS? Any errors in the console?

julienkay avatar May 15 '23 10:05 julienkay

My guess is that you didn't drag the Editor folder in the package into "Asset", so the editor scripts are not compiled by Unity Editor.

Dariushuangg avatar May 21 '23 01:05 Dariushuangg

clean install, empty project. which version of unity should i be using - which has this been tested to work?

Image from Gyazo

yosun avatar May 21 '23 02:05 yosun

no errors on console - screenshot shown

i'm also not sure what types of files import from disk works with?

yosun avatar May 21 '23 02:05 yosun

Try doing what I said and take another screenshot?

Dariushuangg avatar May 21 '23 03:05 Dariushuangg

hmm i did that too but no effect earlier... after re-import, same thing? which version has this been tested with?

Image from Gyazo

yosun avatar May 21 '23 03:05 yosun

Downloading works for me on 2021.3.16 with URP.

Dariushuangg avatar May 21 '23 03:05 Dariushuangg

Is URP required? I use builtin by default...

yosun avatar May 21 '23 03:05 yosun

I don't think so, since the error seems to be in the Editor and not in rendering...Maybe just start a new project in the version I provided, install package, and move the Editor folder to the Asset directory.

Dariushuangg avatar May 21 '23 03:05 Dariushuangg

@yosun Thanks for providing the screenshots. The Unity version you're using should work. I see that you're using macOS though, which I've never tested this with before. If anyone else used it with macOS successfully or can reproduce this issue feel free to chime in.

Otherwise I have to assume that this is a Unity bug, where the menu items are not displayed correctly on macOS.

If I had to take a stab in the dark: In MobileNeRFImporter.cs can you try and modify all occurrences of [MenuItem("MobileNeRF/Asset Downloads/...", ..., ...)] and delete the last two parameters so it's only [MenuItem("MobileNeRF/Asset Downloads/..."]

Maybe also try to delete some of the fluff like lines 28-59? https://github.com/julienkay/MobileNeRF-Unity-Viewer/blob/2011cd84302ece6f1e0a31dd6f3479b8ad4c6f80/Editor/MobileNeRFImporter.cs#L28-L59

julienkay avatar May 21 '23 19:05 julienkay

Ahhhh I can try it on windows

yosun avatar May 21 '23 19:05 yosun

Someone proposed a fix for this. Let me know if you keep having problems on macOS.

julienkay avatar Jul 12 '23 21:07 julienkay