Maybe Fixed JS runtime error when fighting Doppleganger

Mark an issue as possibly fixed.

Duress

New Member
Apr 26, 2019
3
1
39
Game version: 0.8.13
Client: Stand-alone game client from Steam (Electron app, I imagine?)
Host OS: Ubuntu 22.04

My game just threw a fatal error from the JS runtime while exploring the Warped Wayfort. This popped up when encountering Doppleganger to fight, as soon as the fight tried to load up.

Toubleshooting steps taken:
  • Selected "Load Checkpoint" (this stepped me back to a few spaces prior to the encounter) and approached again. The same error occured.
  • Selected "Load Checkpoint" and explored the rest of the dungeon floor, triggering a few more random combats, then approached again. The same error occured.

Stack trace:
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'N'
| property 'perks' -> object with constructor 'Array'
| index 0 -> object with constructor 'n'
--- property 'owner' closes the circle
at JSON.stringify ()
at window.nukeReferences(file:///home/duress/snap/steam/common/.local/share/Steam/steamapps/common/Corruption%20of%20Champions%20II/resources/app/756.8bc50284778a00d30f39.js:1:4766633) at h.value (file:///home/duress/snap/steam/common/.local/share/Steam/steamapps/common/Corruption%20of%20Champions%20II/resources/app/505.78b4322342cc7f04b35f.js:1:213315)
at file:///home/duress/snap/steam/common/.local/share/Steam/steamapps/common/Corruption%20of%20Champions%20II/resources/app/756.8bc50284778a00d30f39.js:1:4628402
at Array.map ()
at e.value (file:///home/duress/snap/steam/common/.local/share/Steam/steamapps/common/Corruption%20of%20Champions%20II/resources/app/756.8bc50284778a00d30f39.js:1:4628376)
at n.value
(file:///home/duress/snap/steam/common/.local/share/Steam/steamapps/common/Corruption%20of%20Champions%20II/resources/app/505.78b4322342cc7f04b35f.js:1:38876)
at h.value (file:///home/duress/snap/steam/common/.local/share/Steam/steamapps/common/Corruption%20of%20Champions%20II/resources/app/505.78b4322342cc7f04b35f.js:1:282418)
at e.value (file:///home/duress/snap/steam/common/.local/share/Steam/steamapps/common/Corruption%20of%20Champions%20II/resources/app/756.8bc50284778a00d30f39.js:1:4620883)
at e.value (file:///home/duress/snap/steam/common/.local/share/Steam/steamapps/common/Corruption%20of%20Champions%20II/resources/app/756.8bc50284778a00d30f39.js:1:4620141)
 

Attachments

  • 2025-11-19-194634_1906x1055_scrot.png
    2025-11-19-194634_1906x1055_scrot.png
    1.7 MB · Views: 4

Libelous

Well-Known Member
Moderator
Aug 2, 2016
1,188
920
This problem might be fixed, addressed in:

Libelous said:
God that took a while, I think I might have fixed the problem. As testing with both Atlas and Papum saves leads to no crash, we'll see if it breaks again when the fix gets added to the patch.

Thanks.