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
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
- Solid gray or black areas are present when using ShaderGraph with Custom Function nodes without manual reimport
Add comment