Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.4f1
Issue ID
784556
Regression
No
[Script Updater]Unity fails to run script updater when "safeCollisionEventSize" is used
Steps to reproduce
1. Open attached project.
2. Notice that window "API Update Required" appears automatically.
(if this window does not appear, click "Assets"->"Reimport All" and it should appear)
3. In this window press button "I Made a Backup. Go Ahead!".
4. After project is loaded, notice error messages in console window: "Failed to run script updater", "API updating failed". Also, it suggests reporting a bug with details provided.
5. Open script named "BloodSplat.boo" and temporary delete this line of code:
safeLength as int = pSystem.safeCollisionEventSize;
6. Reimport assets of this project ("Assets"->"Reimport All").
7. Notice that error messages about API updating disappear.
8. Write the same line of code to its previous location in "BloodSplat.boo" script:
safeLength as int = pSystem.safeCollisionEventSize;
9. Reimport assets and notice that API updating failed.
Expected result:
Scripts should be updated without any failure. "safeCollisionEventSize" should not be a barrier to run script updater.
Reproduced on:
5.3.4f1, 5.4.0b13, 5.2.4f1, 5.1.0f3.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment