Unity Version: Unity 6.5
Package: ARCore Extensions for AR Foundation
Platform: macOS (also likely affects Windows)
Description:
Opening any project with ARCore Extensions installed in Unity 6.5 produces a flood of TypeLoadException errors originating from Unity's internal MsBuild compilation system. The error occurs because ARCore Extensions bundles a Google.Protobuf.dll that conflicts with the version Unity 6.5's MsBuild pipeline expects (v3.23.0).
The error persists even after deleting the Library folder, reimporting assets, and reinstalling Unity 6.5. It only resolves when ARCore Extensions is completely removed from the project.
Error Message:
TypeLoadException: Invalid type UnityEditor.Scripting.ScriptCompilation.MsBuild.MsBuildCompilation for instance field UnityEditor.Scripting.ScriptCompilation.MsBuild.MsBuildCompilationInterface:msBuildCompilation
Steps to Reproduce:
- Install Unity 6.5
- Create or open a project
- Import ARCore Extensions for AR Foundation
- Observe TypeLoadException errors flooding the Console immediately
Expected Result: No errors. ARCore Extensions' bundled Google.Protobuf.dll should not conflict with Unity's internal MsBuild compilation system.
Actual Result: Hundreds of TypeLoadException errors appear, making the editor partially unusable. Script compilation is disrupted.
Unity Version: Unity 6.5
Package: ARCore Extensions for AR Foundation
Platform: macOS (also likely affects Windows)
Description:
Opening any project with ARCore Extensions installed in Unity 6.5 produces a flood of TypeLoadException errors originating from Unity's internal MsBuild compilation system. The error occurs because ARCore Extensions bundles a Google.Protobuf.dll that conflicts with the version Unity 6.5's MsBuild pipeline expects (v3.23.0).
The error persists even after deleting the Library folder, reimporting assets, and reinstalling Unity 6.5. It only resolves when ARCore Extensions is completely removed from the project.
Error Message:
Steps to Reproduce:
Expected Result: No errors. ARCore Extensions' bundled Google.Protobuf.dll should not conflict with Unity's internal MsBuild compilation system.
Actual Result: Hundreds of TypeLoadException errors appear, making the editor partially unusable. Script compilation is disrupted.