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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
Resolution Note (fix version 1.19.19):
Fixed issue where RefreshGlobalProfileVariables is called during script compilation.