Search Issue Tracker

In Progress

Under Consideration for 1.21.X

Fix In Review for 2.1.0

Votes

0

Found in [Package]

1.21.21

2.1.0

Issue ID

ADDR-3706

Regression

No

Warning logs about missing scripts are thrown when building Asset Bundles using Addressables/SBP

Package: Addressables

-

Reproduction steps:
1. Open the attached “bug-addressables-build-warnings.zip” project
2. Open the “Addressables Groups” Window (Window > Asset Management > Addressables > Groups)
3. Select Build > New Build > Default Build Script
4. Observe the Console

Expected result: No warnings are thrown
Actual result: Many "Script attached to '…' is missing or no valid script is attached." warnings with different assets mentioned are thrown

Reproducible with: 1.21.21 (2021.3.40f1, 2022.3.36f1), 2.1.0 (2022.3.36f1, 6000.0.9f1)

Reproducible on: Windows 11
Not reproducible on: no other environment tested

Notes:
- The problem seems to only affect Addressables/SBP as the legacy Asset Bundle system does not trigger these warnings
- To reproduce the warnings again after a Build, go to "Build > Clear Build Cache > All"

  1. Resolution Note (fix version 2.1.0):

    Added a Scriptable Build Pipeline setting that optionally disables logging of asset warnings during build process.

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.