Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

1.15

Issue ID

ISXB-1758

Regression

Yes

"UnityException" error thrown when Generating C# Class for "InputSystem_Actions.inputactions" Asset

Package: Input System

-

Steps to reproduce:
1. Create new Unity project
2. Select InputSystem_Actions.inputactions Asset in Project window
3. In Inspector window add checkmark on “Generate C# Class”
4. Press “Apply”
5. Observe Console window

Actual results: Errors are thrown in the Console window: “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.”
Expected results: No errors are thrown in the Console window

Reproducible with versions: 1.15.0 (6000.4.0a2 (79bd4f638ac0), 6000.4.0a4. 6000.5.0a1)
Not reproducible with versions: 1.15.0 (6000.3.0a6 (6966ed4b28e1), 6000.3.0b10, 6000.4.0a1 (b27b8eafe426))

Tested on (OS): macOS Silicon Tahoe 26.0 (M1)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.