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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment