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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Add comment