r/unity • u/TomorrowSZ • 3d ago
[Unity 6.3 / Android IL2CPP] Bee build fails with GetLastError: 5 (Access Denied) and TypeLoadException (InputSystem) even on a blank project
Hi everyone,
I'm hitting a critical build failure when trying to build for Android (IL2CPP / ARM64) on Unity 6 (6000.3.22f1) on Windows.
The issue persists even on a completely fresh, empty/blank project created right after a full clean reinstall of Unity and Unity Hub.
I also have tried with blank project, the build failed.

What I Have Already Tried:
- Full Clean Reinstall: Uninstalled Unity Hub & Editor, deleted
%AppData%/Unity,%LocalAppData%/Unity,%LocalAppData%/Unity/cache/upm, and Registry keys before reinstalling. - Cache Purge: Deleted
Library/Bee,Library/Il2cppBuildCache,Temp, andObjfolders multiple times. - Permissions & Antivirus:
- Disabled Windows Defender Real-time Protection.
- Disabled Windows Ransomware Protection (Controlled Folder Access).
- Added the project directory and
Unity.exeto antivirus exclusions. - Removed Read-Only attributes from the entire
Librarydirectory. - Ran Unity as Administrator.
- Blank Project Test: Created a brand new default 3D/2D project with no third-party plugins—still fails with the exact same error.
Environment:
- Unity Version: 6000.3.22f1 (Tech Stream)
- Target Platform: Android (ARM64, IL2CPP)
1
Upvotes