CRITIAL- Nintendo Switch Crashing (or not) in exact same island depending if its an editor_session/private_code/public_code

Major Breakthrough:

Wertandrew told me in DM’s that “verse scripts that do a lot with editables at construction time” could be causing the crashes.

I had previously deleted all the verse devices and still had crashes, but regardless did the following:

  • launched full project session to see if the Switch would crash once it joined, it did
  • deleted all placed verse devices (did this before a lot of times), changed a mat color, push, join, crash
  • deleted the verse CODE FILES through UEFN, launch session, join with the switch, and it works!
    How is this a thing? There were no verse devices placed, this is nearly impossible to debug

I then repeated the same incremental asset addition I did in the first part of the post, for all the non-already placed creative-prop assets, the ones that were set to spawn with the verse device.
I was able to add all of them and had no crashes at all! Each push I went back to lobby and joined again 2x, to guarantee there weren’t any false positives.

Just now I got back into the project, added all the code back through File Explorer, placed the verse game manager in the world, didn’t add anything in the editables or change any values, launched session, when switch joins it crashes.

Then I deleted everything verse related and the switch is now able to join the session again

How in the world can verse be the one causing the crash? There were no verse errors, nothing in the output log
How would anyone be able to figure this out?

I will now try to figure out how to make the code “lighter” like Wertandrew suggested
But again, this doesn’t make any sense.

The issue is not fixed, I would be very grateful if someone from Epic could give me any insight on how to fix this verse issue

1 Like