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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note (fix version 1.19.19):
Fixed issue where RefreshGlobalProfileVariables is called during script compilation.