So lately after getting my new computer and updating the engine and my project to 4.3 I’ve started to experience a lot of access violation crashes when doing different things, loading maps, editing foliage or materials and so on.
Does this happen on a clean project with no additional content? Also do you get the same crashes now when trying to open in 4.2.1 or earlier? Thank you!
Do you have swarmagent set as an exception as well? I noticed that all of the instances you mention directly or indirectly affect shader compiling. It may be that the swarm agent is trying to run but cannot.
I just tried turning the firewall off completely and no difference, still crashing. I mean it works flawlessly with other projects, just this one project that does not run…
I have great news and a little bit of bad news. The great news is there is nothing wrong with your project or your level. The bad news is your MyCharacter script is the cause of your crash. Remove those three and you should be free to continue working. I am going to send those files on to be assessed for what may be causing the specific crash.
There is a possibility that the character file just got corrupted during the transition. If you haven’t altered it you should be able to pull in a copy of the character blueprint from a blank project without problem.
Okay, thanks a lot for the help! It is a bit odd as I don’t think I’ve touched any scripts. Removing the ‘MyCharacter’ script would essentially remove the player right? Would there be any way to add a new later then as I will need one at some point(?).
Just posting to confirm this works just fine, question though. How can I possibly find issues like this myself in the future? I don’t want to pester you guys about it unless needed.
Well, to be honest I stumbled upon this by accident! I thought it was a corrupted project, but I went to your blueprints and doubleclicked on the MyCharacter blueprint and it crashed, then I tried to remove the gamemode from the world settings window and it crashed again. So, I went into the filepath and removed the blueprints folder, which caused it to open properly. Then I put the folder back and continued to add pieces of the blueprints back in until it crashed again. Finally, I moved the character file into another project, which caused a crash. If you want to debug these yourself (we encourage you to post here whenever you have a problem such as this!), the best place to start is just seeing what specific actions cause the crash, then going back from there. With blueprints especially removing them from the project, seeing if it crashes, then slowly adding blueprints back is a good way to find out which specific ones cause the problem.
Okay, I see. It would be great to have some kind of warning if possible instead of straight up crash for issues such as this if possible(?). Either way, good to know there is a way to handle this for me in the future. Very happy for all the help and if possible please tell me how to avoid issues like this when migrating to new hardware in the future if you guys figure out what actually caused it or so.