Cannot join realm (NPE)

Hi,

We’re 3 friends playing the experimental branch coop, however I cannot join their realm.

Reading the logs it seems to be a null pointer exception.

2025-12-20T22:45:16.665|I|312||POST https://prod.main.norestforthewickedbackend.net/save/c17747b5-7158-4fb9-adb1-5b1e672dd2c6/PlayRealm
Request Body: {
  "RealmId": "a106702e-c930-469b-b493-2942066faa0e",
  "PreferredRegion": 4,
  "ClientVersion": "26165"
}
2025-12-20T22:45:16.832|I|312||Status: 201 
Response:
{
  "Status": 0,
  "Region": 4,
  "PlayJwt": "[here is a proper JWT]"
}
2025-12-20T22:48:38.222|X|312||NullReferenceException: Object reference not set to an instance of an object.
  at frameworks.session.Session.NotifyUnboundAndWaitForQuantumThread () [0x00000] in <00000000000000000000000000000000>:0 
  at frameworks.session.SessionHandlerAPI.DisposeAllAndWaitForQuantumThread () [0x00000] in <00000000000000000000000000000000>:0 
  at Moon.GameSession.ClientFlowAPI.QuitGame () [0x00000] in <00000000000000000000000000000000>:0 
  at Moon.Forsaken.Core.OnApplicationQuit () [0x00000] in <00000000000000000000000000000000>:0 

2025-12-20T22:48:39.148|?|312||[Physics::Module] Cleanup current backned.
2025-12-20T22:48:39.148|?|312||[Physics::Module] Id: 0xf2b8ea05
2025-12-20T22:48:39.149|?|312||Input System module state changed to: ShutdownInProgress.
2025-12-20T22:48:39.149|?|312||Input System polling thread exited.
2025-12-20T22:48:39.149|?|312||Input System module state changed to: Shutdown.
2025-12-20T22:48:39.771|W|312||Internal: There are remaining Allocations on the JobTempAlloc. This is a leak, and will impact performance
2025-12-20T22:48:39.771|W|312||To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations.
2025-12-20T22:48:39.771|W|312||Internal: There are remaining Allocations on the JobTempAlloc. This is a leak, and will impact performance
2025-12-20T22:48:39.771|W|312||To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations.

This results as stuck on loading screen and cannot proceed further with the play.

What we’ve tried:

  • deleting/creating new realms
  • Other player hosting
  • Changing the steam profile names to all latin characters

It seems that local is working, but shared realm not for me. Each time I do this I get a NPE.

Help, I want to play this game

In addition to that, today I verified the integrity of the game files, but still the same issue.

Here is an upload of player.log and crash.bin: 126.3 KB folder on MEGA

1 Like

Ok, I managed to fix this issue:

  1. Completely remove the wine prefix rm -rf /var/mnt/data/SteamLibrary/steamapps/compatdata/1371980/ (replace your own library
  2. Then use Proton Experimental, not GE or other variants

I hope this helps someone

You are using Linux I presume?

Yes, of course I do :slight_smile:, but it still might be a bug :man_shrugging:

Nevertheless, I wanted to share the fix since I’m not the only one who has this problem.

I shared it on steam forums as well as mentioned on protondb (will be available in the next content refresh, 24 hours or so): https://www.protondb.com/app/1371980

1 Like

You have done great work already because it actually helped someone else this morning already!

1 Like