Search Issue Tracker

By Design

Votes

0

Found in

2021.3.27f1

2022.3.2f1

2023.1.0f1

2023.2.0a18

Issue ID

UUM-39791

Regression

No

ArgumentException is thrown when a "None" value is passed to a GameObject property via UnityEvent

--

-

Reproduction steps:
1. Open the "IN-42644.zip" project
2. Open “Assets/Scenes/SampleScene”
3. Enter Play mode and observe the Console

Expected result: No errors are thrown
Actual result: ArgumentException is thrown

Reproducible with: 2021.3.27f1, 2022.3.2f1, 2023.1.0f1, 2023.2.0a18

Reproducible on: Windows 10

Note: Full error in internal comments

  1. Resolution Note:

    By throwing the exception, users get warned of a missing assignment. This is as designed and not an actual bug.

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.