Editor Keeps Crashing When Simulating In Viewport

Discussion in 'PC Editor Discussion' started by emil#3734, Sep 30, 2023.

Tags:
  1. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    363
    Likes Received:
    274
    "Fatal error: [File:F:/DEV/ND23-BuildPublicEditor-EpicRelease/Engine/Source/Runtime/CoreUObject/Private/Templates/Casts.cpp] [Line: 10] Cast of nullptr to GamePersonality failed"
    I get this error everytime, I try to start simulating the game in the viewport, the only option that works is "standalone game", but Scenarios and Timetables don't seem to work with that.
     
  2. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    419
    Likes Received:
    179
    I wouldn't simulate. Reason for this is if stuff rely on say player being spawned and isn't error checked.

    Crashes can occur. Either use play in viewport or play in a new pie window.

    Also ensure your timetable and if a scenario the scenario definition is set to play in editor.
     
  3. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    363
    Likes Received:
    274
    I'm sorry, i ment, that this error occurs, when playing with the "selected viewport" option, and all the others, currently only the standalone game works, but this one is not loading Timetables or Scenario's.
     
  4. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    363
    Likes Received:
    274
    No changes, after using a different gpu for the editor
     
  5. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    363
    Likes Received:
    274
    I reinstalled it, and made a backup of my files before, now it kinda works, and i need to get used to the escape button closing the sim.
     
  6. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,326
    Likes Received:
    18,782
    You will never, ever, get used to that

    *cries a lil*

    Matt.
     
    • Like Like x 2
  7. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    419
    Likes Received:
    179
    So there is a way if you go into Editor Preferences and Keyboard Shortcuts, you can remove the binding for Escape to end the simulation. :). Was the first thing I did when I first started out in UE.
     
    • Helpful Helpful x 1
  8. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,326
    Likes Received:
    18,782
    There is, but i've numerously had to reinstall editor builds over the years and forget to re-do it - so i've just resigned myself to goofing it up periodically :)
     
  9. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    363
    Likes Received:
    274
    Thanks for the answer, but would you mind helping me right here: How to make Sound Mod
    *?
    I'm kinda stuck right there.
     
  10. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,326
    Likes Received:
    18,782
    Not a clue on sound mods i'm afraid.

    I'm not sure how practically achievable it's going to be - you'll need to start from scratch and make all the cues yourself.

    If I recall correctly the RVA (Rail Vehicle Audio) is essentially a kind of child of the RVV (Rail Vehicle View) but I don't know how you make and link them - once you've done that, you'll need to set the RVA up somehow.

    I'm trying to get familiar with the internals of this stuff but I can only do so much and i'm focusing on routes at the moment.

    Matt.
     
  11. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    363
    Likes Received:
    274
    Thanks tho.
     
  12. streckenlord#3532

    streckenlord#3532 New Member

    Joined:
    Oct 3, 2023
    Messages:
    2
    Likes Received:
    0
    "Hello everyone, I'm also struggling with this player. I've tried everything, including your suggestions. Is there another solution? What could be the cause of this? It only works in StandaloneGame mode, But that doesn't help me much. Thank you in advance for any tips."
     
  13. wvro#7948

    wvro#7948 New Member

    Joined:
    Oct 8, 2023
    Messages:
    2
    Likes Received:
    0
    Hello everyone, kind of the simmilar error... when play in editor loads... formations are visible... aka loaded normally and then this happens "
    Fatal error: [File:F:/DEV/ND23-BuildPublicEditor-EpicRelease/Engine/Source/Runtime/CoreUObject/Private/Templates/Casts.cpp] [Line: 10]
    Cast of nullptr to SkeletalMeshComponent failed " what might have caused this ? P.S Ofcourse checked logs...
     

Share This Page