Search Issue Tracker
Third Party Issue
Votes
0
Found in
2021.3.31f1
2022.3.10f1
2023.1.16f1
2023.2.0b12
2023.3.0a8
Issue ID
UUM-52676
Regression
No
AssemblyReloadEvents.afterAssemblyReload can't be called
How to reproduce:
1. Open the user-attached project “UnityBugReport”
2. Open the “SampleScene” scene
3. In the upper menu click Platform → Test
4. Observe the Console
Expected result: Both “Before” and “After” events are logged into the Console
Actual result: Only the “Before” event is logged
Reproducible with: 2021.3.31f1, 2022.3.10f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8
Reproducible on: Windows 11 Pro
Not reproducible on: No other environment tested
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:
When assembly reload is invoked, all bindings get reset in code, so afterAssemblyReload is already empty at that time. To get that script working you could use InitializeOnLoadMethod for ensuring bindings are setup at proper time.