Search Issue Tracker

Fixed

Fixed in 1.7.7

Votes

0

Found in [Package]

1.7.6

Issue ID

UVSB-2123

Regression

No

NullException is thrown when building VisualScripting with batchmode

Package: Visual Scripting

-

Reproduction steps:
1. Download the attached "VS-Test.zip (2.6 MB)" project
2. Open the Terminal window and run the following command: "/Applications/Unity/Hub/Editor/2021.2.7f1/Unity.app/Contents/MacOS/Unity -logFile - -quit -projectPath <Project Path> -batchmode -buildTarget iOS -executeMethod BuildCommand.PerformBuild -nographics"
3. Observe the terminal window

Expected result: No exceptions are thrown
Actual result: A "NullReferenceException: Object reference not set to an instance of an object
at Unity.VisualScripting.GraphGUI+Styles.LoadStyles" is thrown

Reproducible with: 2021.2.8f1, 2022.1.0b3, 2022.2.0a1

  1. Resolution Note (fix version 1.7.7):

    No exception when using 1.7.7 and newer.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.