GithubHelp home page GithubHelp logo

Comments (12)

Dariushuangg avatar Dariushuangg commented on July 25, 2024 1

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.

from mobilenerf-unity-viewer.

julienkay avatar julienkay commented on July 25, 2024

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

from mobilenerf-unity-viewer.

yosun avatar yosun commented on July 25, 2024

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

Image from Gyazo

from mobilenerf-unity-viewer.

yosun avatar yosun commented on July 25, 2024

no errors on console - screenshot shown

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

from mobilenerf-unity-viewer.

Dariushuangg avatar Dariushuangg commented on July 25, 2024

Try doing what I said and take another screenshot?

from mobilenerf-unity-viewer.

yosun avatar yosun commented on July 25, 2024

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

Image from Gyazo

from mobilenerf-unity-viewer.

Dariushuangg avatar Dariushuangg commented on July 25, 2024

Downloading works for me on 2021.3.16 with URP.

from mobilenerf-unity-viewer.

yosun avatar yosun commented on July 25, 2024

from mobilenerf-unity-viewer.

Dariushuangg avatar Dariushuangg commented on July 25, 2024

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.

from mobilenerf-unity-viewer.

julienkay avatar julienkay commented on July 25, 2024

@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?

[MenuItem("MobileNeRF/Asset Downloads/-- Synthetic 360° scenes --", false, -1)]
public static void Separator0() { }
[MenuItem("MobileNeRF/Asset Downloads/-- Synthetic 360° scenes --", true, -1)]
public static bool Separator0Validate() {
return false;
}
[MenuItem("MobileNeRF/Asset Downloads/-- Forward-facing scenes --", false, 49)]
public static void Separator1() { }
[MenuItem("MobileNeRF/Asset Downloads/-- Forward-facing scenes --", true, 49)]
public static bool Separator1Validate() {
return false;
}
[MenuItem("MobileNeRF/Asset Downloads/-- Unbounded 360° scenes --", false, 99)]
public static void Separator2() { }
[MenuItem("MobileNeRF/Asset Downloads/-- Unbounded 360° scenes --", true, 99)]
public static bool Separator2Validate() {
return false;
}
[MenuItem("MobileNeRF/Asset Downloads/Download All", false, -20)]
public static async void DownloadAllAssets() {
if (!EditorUtility.DisplayDialog(DownloadAllTitle, DownloadAllMsg, "OK")) {
return;
}
foreach (var scene in (MNeRFScene[])Enum.GetValues(typeof(MNeRFScene))) {
if (scene.Equals(MNeRFScene.Custom)) {
continue;
}
await ImportDemoSceneAsync(scene);
}
}

from mobilenerf-unity-viewer.

yosun avatar yosun commented on July 25, 2024

from mobilenerf-unity-viewer.

julienkay avatar julienkay commented on July 25, 2024

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

from mobilenerf-unity-viewer.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.