[Addressable + New input System + Mac] Addressable iOS build failed unsupported file type

Hello,

I’m using the unity 2021.2.17f1, Addressable 1.19.19 and Input System 1.3.0.

I have a problem when try add a .inputactions file as addressable and try generate addressable build for iOS platform using a PC with MAC system.

When I try to generate addressable build I receved this error:

“Cannot recognize file type for entry located at ‘Assets/_ProjectFiles/GameAssets/Core/Input/PlayerInput.inputactions’. Asset import failed for using an unsupported file type.”

When I remove the .inputactions file from addressable the build is generated without problem.

Note: When I try to generate the addressable build for iOS platform using a PC with Windows system, the build is generated without problem even when .inputaction file was a addressable file.

Is the .inputactions file unsupported by addressable?

I need this file as addressable because I load my scene with addressables and I’m using cinemachine orbital camera that use a InputActionReference. So I don’t want use the “ignore invalid/unsupported files in build” configuration, because even the build was generated the cinemachine orbital camera don’t work.

Could you help me?

Hi @ .inputactions should be supported as long as it’s an importable asset from the AssetDatabase. Since the build only fails on a Mac, this seems more like platform-related issue rather than Addressables.

One thing you could try is upgrading the project to Unity 2021.3 as that’s the new supported LTS version. Otherwise I would recommend submitting a bug report, and it will be sent to the correct team.

I used action asset it failed i used direct action from script using InputAction class it also failes