Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realm in Unity Issues after update to 12.3.0 #3656

Closed
unapartidamasSL opened this issue Jul 30, 2024 · 7 comments
Closed

Realm in Unity Issues after update to 12.3.0 #3656

unapartidamasSL opened this issue Jul 30, 2024 · 7 comments
Assignees
Labels
App-type:Unity More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. O-Community SDK-Use:Local T-Bug

Comments

@unapartidamasSL
Copy link

What happened?

I've updated from 12.2.0 to 12.3.0 and now I get this error. If I play my game, when I close I have a crash in Unity without log. I've came back to 12.2.0 and now I can play again without errors.

EntryPointNotFoundException: shared_realm_get_log_level assembly: type: member:(null)
Realms.SharedRealmHandle.GetLogLevel (Realms.Logging.LogCategory category) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
Realms.Logging.RealmLogger.GetLogLevel (Realms.Logging.LogCategory category) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
Realms.Logging.RealmLogger.Log (Realms.Logging.LogLevel level, Realms.Logging.LogCategory category, System.String message) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
Realms.Logging.RealmLogger.Log (Realms.Logging.LogLevel level, System.String message) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
Realms.NativeCommon.CleanupNativeResources (System.String reason) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
UnityUtils.Initializer+<>c.b__1_0 () (at :0)

Repro steps

Just start realm config with 12.3.0 and Unity 2023.2.x

Version

12.3.0

What Atlas Services are you using?

Local Database only

What type of application is this?

Unity

Client OS and version

Windows 11

Code snippets

No response

Stacktrace of the exception/crash you're getting

No response

Relevant log output

EntryPointNotFoundException: shared_realm_get_log_level assembly:<unknown assembly> type:<unknown type> member:(null)
Realms.SharedRealmHandle.GetLogLevel (Realms.Logging.LogCategory category) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
Realms.Logging.RealmLogger.GetLogLevel (Realms.Logging.LogCategory category) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
Realms.Logging.RealmLogger.Log (Realms.Logging.LogLevel level, Realms.Logging.LogCategory category, System.String message) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
Realms.Logging.RealmLogger.Log (Realms.Logging.LogLevel level, System.String message) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
Realms.NativeCommon.CleanupNativeResources (System.String reason) (at <5c992fe941464f80ba4d8c018995b0c9>:0)
UnityUtils.Initializer+<>c.<Initialize>b__1_0 () (at <afca79feead543578646db21d682fc81>:0)
Copy link

sync-by-unito bot commented Jul 30, 2024

➤ PM Bot commented:

Jira ticket: RNET-1170

@unapartidamasSL unapartidamasSL changed the title Realm in Unity Issues Realm in Unity Issues after update to 12.3.0 Jul 30, 2024
@nirinchev
Copy link
Member

This looks like the update didn't correctly update the native library. Can you try and do a clean rebuild of the project (and make sure to restart Unity).

@unapartidamasSL
Copy link
Author

I did it. And all of we did it. Nothing worked.

@nirinchev
Copy link
Member

I've tried to reproduce it and everything works as expected. Here's the project I used:
Realm12.3.0.zip

If you can modify it to trigger the erroneous behavior, let me know and I'll take another look.

@nirinchev nirinchev added the More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. label Aug 1, 2024
@nirinchev nirinchev self-assigned this Aug 1, 2024
@peachypixels
Copy link

peachypixels commented Aug 2, 2024

FWIW... I'm using Unity 2022.3.40 with local databases (Windows 10) and everything is working ok, after upgrading from 12.2.0 to 12.3.0

@sync-by-unito sync-by-unito bot added the Waiting-For-Reporter Waiting for more information from the reporter before we can proceed label Aug 3, 2024
@unapartidamasSL
Copy link
Author

I've tried to reproduce it and everything works as expected. Here's the project I used: Realm12.3.0.zip

If you can modify it to trigger the erroneous behavior, let me know and I'll take another look.

Ok, I will do it next saturday.

@github-actions github-actions bot added Needs-Attention Reporter has responded. Review comment. and removed More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. Waiting-For-Reporter Waiting for more information from the reporter before we can proceed labels Aug 10, 2024
@nirinchev nirinchev added More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. and removed Needs-Attention Reporter has responded. Review comment. labels Aug 20, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@github-actions github-actions bot closed this as completed Sep 4, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
App-type:Unity More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. O-Community SDK-Use:Local T-Bug
Projects
None yet
Development

No branches or pull requests

3 participants