Search Issue Tracker

Fixed

Fixed in 2.0.3

Votes

0

Found in [Package]

2.0.3

Issue ID

ADDR-3438

Regression

Yes

[Addressables] Timeout and RedirectLimit range limits are serialized incorrectly

Package: Addressables

-

Reproduction steps:
1. Open the “AddressablesStripped“ project
2. Open “Packages/Addressables/Editor/Settings/GroupSchemas/BundledAssetGroupSchema.cs”
3. Note that Timeout is limited to [0, short.MaxValue] and RedirectLimit is limited to [-1, 128]
4. Open “Packages/Addressables/Runtime/ResourceLocators/ContentCatalogData.cs”
5. Observe the serialization of Timeout and RedirectLimit

Expected result: Timeout is serialized to [0, short.MaxValue] and RedirectLimit is serialized to [-1, 128]
Actual result: Timeout is serialized to [short.MinValue, short.MaxValue] and RedirectLimit is serialized to [0, 128]

Reproduced in: 1.21.14 (2021.3.28f1, 2022.3.4f1, 2023.1.3f1, 2023.2.0a23)
Not reproduced in: 1.21.12 (2021.3.28f1, 2022.3.4f1, 2023.1.3f1, 2023.2.0a23) (range is not limited nor serialized)

Reproduced using: Windows 10, macOS 13.4.1 (Intel)

Regression commit: [https://github.com/needle-mirror/com.unity.addressables/commit/6a884f338c6f9c3153ea3fe0908b693213b248cb|https://github.com/needle-mirror/com.unity.addressables/commit/6a884f338c6f9c3153ea3fe0908b693213b248cb]

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.