Search Issue Tracker
Fixed
Votes
0
Found in
5.3.5p5
Issue ID
810753
Regression
No
[WSA][UWP]Plugins marked compatible with .NET scripting backend, participates while building with il2cpp backend
The real bug here is Assets\CryptAES\Universal\CryptAES.dll is marked as compatible with .Dot Net backend. But even though we're building for il2cpp, the editor throws an error
ArgumentException: The Assembly PCLCrypto is referenced by CryptAES ('Assets/CryptAES/Universal/CryptAES.dll'). But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:147)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:185)
UnityEditor.HostView:OnGUI()
Editor shouldn't have tried to extract types from this dll.
To reproduce:
1. Build attached project
2. See the ArgumentException error
Reproducible: 5.5.0a2, 5.4.0b24, 5.3.5p7, 5.2.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
- Video framerate is not restored when trying to raise it after lowering it to 10 FPS
- WebGPU: CreateRenderPipeline errors with ShaderVariantCollection warmup
Add comment