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
- Invalid Clip Method
- WebGPU error with Fantasy Kingdom and GPU Resident Drawer
- WebGPU fails with height fog in Fantasy Kingdom
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
Add comment