Search Issue Tracker

Fixed

Fixed in 1.19.19

Votes

2

Found in [Package]

1.19.19

Issue ID

ADDR-2654

Regression

No

Method RefreshGlobalProfileVariables is executed when script compilation occurs

Package: Build Pipeline - Addressables

-

Steps to reproduce:
1. Open the attached "1195179 - Addressables Ping Timeout.zip" project
2. In the Project window navigate to Packages > Addressables > Editor > HostingServices
3. Open HostingServicesManager.cs in any External Script Editor
4. Add a breakpoint at line 297 ("RefreshGlobalProfileVariables();")
5. Attach script editor's debugger to the Unity Editor
6. Enter Play Mode in Unity Editor
7. In the Project window right-click on the HostingServicesManager.cs and select Reimport
8. Observe the debugger

Expected result: breakpoint isn't triggered
Actual result: breakpoint is triggered

Reproducible with: 1.19.19 (2019.4.37f1, 2020.3.32f1, 2021.2.18f1, 2022.1.0b14, 2022.2.0a9)

Notes:
- Tested and reproduced in Windows and macOS

  1. Resolution Note (fix version 1.19.19):

    Fixed issue where RefreshGlobalProfileVariables is called during script compilation.

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.