arcore-unity-extensions icon indicating copy to clipboard operation
arcore-unity-extensions copied to clipboard

Migrate from Ar Session Origin To XrOrigin

Open hieuhsssws opened this issue 2 years ago • 8 comments

Unity have just release AR Foundation 5.0, Which replace the Ar Session Origin to XR Origin. I can not find reference from AR Session Origin to XR Origin

hieuhsssws avatar Mar 06 '23 10:03 hieuhsssws

I am having the same problem.

tichise avatar Mar 08 '23 13:03 tichise

https://github.com/holiday-studio/arcore-unity-extensions/commit/dbe4a1466c882108d2613f33308de6b6ae31b056

This fork may help you.

hrkd avatar Mar 16 '23 06:03 hrkd

Note that the linked repo also removes Editor/Scripts/Internal/Analytics/Google.Protobuf.dll which needs to be included separately.

timokorkalainen avatar Apr 12 '23 19:04 timokorkalainen

I have opened a Pull Request (#125 ) that does not require the Google Protobuf to be modified. This allows for XROrigin to be used.

singlerider avatar Jun 08 '23 20:06 singlerider

Note that the linked repo also removes Editor/Scripts/Internal/Analytics/Google.Protobuf.dll which needs to be included separately.

I got a problem with the Editor/Scripts/Internal/Analytics/Google.Protobuf.dll too.

Because my project is using the gRPC so we need the Google.Protobuf.dll in my project. The problem came when we install the arcore-unity-extensions package via GIT url https://github.com/google-ar/arcore-unity-extensions.git

Error: Multiple precompiled assemblies with the same name Google.Protobuf.dll included on the current platform. Only one assembly with the same name is allowed per platform.

Question: Do I need to remove the Google.Protobuf.dll from my project OR wait for the arcore-unity-extensions to remove it?

jimmy-to-goldenowl avatar Jun 14 '23 07:06 jimmy-to-goldenowl

Note that the linked repo also removes Editor/Scripts/Internal/Analytics/Google.Protobuf.dll which needs to be included separately.

I got a problem with the Editor/Scripts/Internal/Analytics/Google.Protobuf.dll too.

Because my project is using the gRPC so we need the Google.Protobuf.dll in my project. The problem came when we install the arcore-unity-extensions package via GIT url https://github.com/google-ar/arcore-unity-extensions.git

Error: Multiple precompiled assemblies with the same name Google.Protobuf.dll included on the current platform. Only one assembly with the same name is allowed per platform.

Question: Do I need to remove the Google.Protobuf.dll from my project OR wait for the arcore-unity-extensions to remove it?

Try my PR, instead: https://github.com/google-ar/arcore-unity-extensions/issues/115#issuecomment-1583289236

singlerider avatar Jun 14 '23 14:06 singlerider

Note that the linked repo also removes Editor/Scripts/Internal/Analytics/Google.Protobuf.dll which needs to be included separately.

I got a problem with the Editor/Scripts/Internal/Analytics/Google.Protobuf.dll too. Because my project is using the gRPC so we need the Google.Protobuf.dll in my project. The problem came when we install the arcore-unity-extensions package via GIT url https://github.com/google-ar/arcore-unity-extensions.git Error: Multiple precompiled assemblies with the same name Google.Protobuf.dll included on the current platform. Only one assembly with the same name is allowed per platform. Question: Do I need to remove the Google.Protobuf.dll from my project OR wait for the arcore-unity-extensions to remove it?

Try my PR, instead: #115 (comment)

Does your PR remove the Google.Protobuf.dll?

jimmy-to-goldenowl avatar Jun 21 '23 05:06 jimmy-to-goldenowl

Does your PR remove the Google.Protobuf.dll?

No.

singlerider avatar Jun 21 '23 05:06 singlerider