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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 1.19.19):
Fixed issue where RefreshGlobalProfileVariables is called during script compilation.