Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.19.19

1.21.2

Issue ID

ADDR-3162

Regression

No

"The referenced script on this Behaviour is missing!" warnings when loading a scene using Addressables with URP

Package: Addressables

-

Reproduction steps:
1. Open the attached project “MissingScript_2021_3.zip”
2. Open the “Boot” Scene
3. Click Build > New Build > Default Build Script in the Addressables Groups window
4. Click Play Mode Script > Use Existing Build in the Addressables Groups window
5. Enter Play mode

Expected result: No warnings are thrown in the Console window
Actual result: Two warnings are thrown:
The referenced script on this Behaviour (Game Object 'Spot Light') is missing!
The referenced script on this Behaviour (Game Object 'Directional Light') is missing!

Reproducible with: 1.19.19 (2020.3.45f1, 2021.3.18f1), 1.21.2 (2022.2.6f1, 2023.1.0b3, 2023.2.0a1)

Reproducible on: macOS 12.4 (Intel)

Notes:
1. In 2020.3.45f1 a “The referenced script on this Behaviour (Game Object '<null>') is missing!” warning is thrown instead
2. Similar issue: ADDR-3110

  1. Resolution Note:

    Try enabling the monoscript bundles option and see if that workaround fixes the issue. We're unable to dig into this issue at the moment.

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.