Skip to content

Error management in invalid modules at least on macOS #385

@bdominguez

Description

@bdominguez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions