Search Issue Tracker
Fixed
Fixed in 1.16.0
Votes
1
Found in [Package]
1.15.0
Issue ID
ISXB-1746
Regression
Yes
[InputSystem] An error occurs when Generating C# Class in InputAction
How to reproduce:
1. Create a new project with URP 3D Core Template
2. In the Project window, right click and create Input Actions
3. Select your new Input actions
4. In the Inspector window enable "Generate C# Class"
5. Observe the Console
Expected result: Console doesn't show errors
Actual result: After enabling "Generate C# Class" this error appears:
Asset import failed, "Assets/New Actions.inputactions" > UnityException: Calls to "AssetDatabase.ImportAsset" are restricted during asset importing. Please make sure this function is not called from ScriptedImporters or PostProcessors, as it is a source of non-determinism.
Reproducible with: 1.15.0 (6000.4.0a2(417aa67423b3), 6000.4.0a3)
Not reproducible with: 1.15.0 (6000.0.60f1 (61dfb374e36f), 6000.2.8f1 (c9992ac36c34), 6000.3.0b7, 6000.4.0a1)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment