Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error management in invalid modules at least on macOS #385

Closed
bdominguez opened this issue Nov 20, 2019 · 0 comments · Fixed by #387
Closed

Error management in invalid modules at least on macOS #385

bdominguez opened this issue Nov 20, 2019 · 0 comments · Fixed by #387
Labels

Comments

@bdominguez
Copy link

@niezbop

If I try to install a module that is not only available in macOS (in this case Universal-Windows-Platform) I get this error:

mac-build:/ jenkins$ u3d install 2019.2.12f1 -p Unity,Universal-Windows-Platform
error: undefined method `id' for nil:NilClass. Use --trace to view backtrace

If the name of a module doesn't exist, I get this other error:

mac-build:/ jenkins$ u3d install 2019.2.12f1 -p gdsgdsgd,jgsduijgdshugsd
error: undefined method `depends_on?' for nil:NilClass. Use --trace to view backtrace

Can you control the error and get a more descriptive message? This is important because not all versions of Unity have the same modules or they exist but with a different name.

@niezbop niezbop added the bug label Nov 20, 2019
lacostej added a commit that referenced this issue Nov 21, 2019
…kage_name

u3d/install: verify package names before we ensure setup coherence (fixes #385) (regression from 1.2.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants