Skip to content

Navigation Menu

Sign in
Sign up

Fix: build.py crash when supplying incorrect plugin identifiers - #52

Open
reaver wants to merge 1 commit into
apple:main from
reaver:bugfix/fix-broken-warningprint
Open

Fix: build.py crash when supplying incorrect plugin identifiers #52
reaver wants to merge 1 commit into
apple:main from
reaver:bugfix/fix-broken-warningprint

Conversation

@reaver

@reaver reaver commented Jul 11, 2025

Copy link
Copy Markdown

Issue

When supplying incorrect plugin ids through the -p option the build script will crash with the message:
AttributeError: module 'scripts.python.upi_utility' has no attribute 'WarningMessage'

Solution

Use CTX.printer.WarningMessage like the surrounding script code does.

dinhanhminh pushed a commit to dinhanhminh/unityplugins that referenced this pull request Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /