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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note (fix version 1.19.19):
Fixed issue where RefreshGlobalProfileVariables is called during script compilation.