I have moved up from 4.4 to 4.7, and after packageing the game (win32 shipping build) the game will fatal error crash when the player triggers a blueprint event on a character blueprint. The project uses unmodified 4.7 Shooter Game code as base.
This crash would not happen in the past, and I cant see why it is happening? Any advice would be appreciated!
The blueprint the player triggers is a Mixamo character blueprint, player can trigger an event by proximity.
I also currently have problems hosting multiplayer games, wich also worked great in the past. Clients will find the hosted servers, but never be able to connect to them. Thanks for any help!
How did you go about upgrading from 4.4 to 4.7? Did you copy Content from a ShooterGame_4.4 project to a ShooterGame_4.7 project with windows explorer or did you “convert” by trying to open ShooterGame_4.4 using the 4.7 version of UE4Editor?
I did download and install a fresh copy of Shooter Game for 4.7, and simply copyed assets from windows explorer, pretty much only static meshes, materials and texture/audio assets, most of the blueprints were made from scratch with 4.7, but it is possible a few blueprints might have been copied from the 4.4 version of the project
I can’t tell from your post if you ended up trying the “convert” process or not. If not, can you try that? Don’t forget to back up before converting, even if you use the “Create a Copy” option in the convert dialog window.
What I meant was that I downloaded and installed shooter game 4.7, created a new project with shooter game 4.7 and copied over some of the uasset files from the old 4.4 project, into the new 4.7 project in windows explorer. (i never opened the 4.4 project in 4.7 editor)
How does the convert thing work? What does it convert more specificly? I really only wanted to transfer some assets from the old project into the updated one. Would I still need to convert the asset files?
I also get these crashes when exchanging fire with a shooter bot.
I cant really tell what it means. Or sometimes just when the game is loading into the main menu etc
I have tried to convert a copy of the 4.4 project and recive this error during conversion.
Basicly what I can make out, any 4.4 BLUEPRINT would contain invalid/deprecated code if brought straight into 4.7?, altho doing so generates no warnings. But it would be OK to copy over materials/textures/meshes?
I talked with one of our coding support guys about this. Basically, our recommendation is usually that people don’t try to prototype in Shootergame (or any of our other more complex code samples).
That being said, I’d like to try something that might…MIGHT be a workaround for this, but the only way to know is for you to try it. I don’t know if you’ve done any code changes or what parent classes you’re using for your blueprints, but if you haven’t, try this (try it anyways if you have):
Create a blank blueprint based project using 4.4 (no starter content)
Close that project and open Shootergame 4.4
Select all of your content and anything you’ve modified in the content browser (levels included)
Right click>Asset Actions>Migrate
Ensure that everything you see in the following window is accurate (all items referenced by what you selected will be migrated as well)
Hit OK
Choose the content folder of that blank project you made in step 1
Close the editor
Delete ShooterGame 4.4
Create ShooterGame 4.7 (but MAKE SURE it is the exact same name as the 4.4 Shootergame)
Close ShooterGame 4.7
Launch 4.7 project browser and select the blank project
Convert in place
When it opens, select all your content in the content browser
Migrate it to ShooterGame 4.7 using the same methods as before
Launch ShooterGame 4.7
I have some doubts that this will work, but worth a shot.
In the future we DO NOT recommend prototyping or developing based off of a code sample if you aren’t intimately familiar with the code for that project.
Thanks alot for your help! I will try this alittle later and report back with results. You can mark as solved for now. I’ve done no serious modification to the projects c++ code. My guess is that original problems was caused by copying old character blueprints and such.