Download

HELP Creating a new Sword with custom 3d mesh HELP

Can someone help me out with changing the sword mesh to my own custom one , like i made all the item work in game i can craft and use etc but it has sword model so i made a custom FPV sword imported switch over and then go in game i craft i tem then when i press hotbar number (1) and it brings item out it crashes UE and i get this

Log :
Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000040

VERSION: 175.0
UE4Editor-Engine.dll!UnknownFunction (0x00007ff83dffa625) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff83dffa599) + 0 bytes [UnknownFile:0]
UE4Editor-ShooterGame.dll!AShooterWeapon::PlayWeaponAnimation() (0x00007ff836c2c319) + 0 bytes [g:\sotfgame\projects\shootergame\source\shootergame\private\shooterweapon.cpp:1662]
UE4Editor-ShooterGame.dll!AShooterWeapon::OnEquip() (0x00007ff836c2b9cd) + 0 bytes [g:\sotfgame\projects\shootergame\source\shootergame\private\shooterweapon.cpp:523]
UE4Editor-ShooterGame.dll!AShooterCharacter::SetCurrentWeapon() (0x00007ff836ae350b) + 0 bytes [g:\sotfgame\projects\shootergame\source\shootergame\private\shootercharacter.cpp:2043]
UE4Editor-ShooterGame.dll!AShooterCharacter::GivePrimalItemWeapon() (0x00007ff836ad753d) + 14 bytes [g:\sotfgame\projects\shootergame\source\shootergame\private\shootercharacter.cpp:1641]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff83ddb8e9c) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff83de25bf5) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff83da306de) + 0 bytes [UnknownFile:0]
UE4Editor-UnrealEd.dll!UnknownFunction (0x00007ff83c2b13e4) + 0 bytes [UnknownFile:0]
UE4Editor-UnrealEd.dll!UnknownFunction (0x00007ff83c71bc16) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff668739564) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff66872ed0f) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff66872ed7a) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff66873abe0) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff66873bb19) + 0 bytes [UnknownFile:0]
KERNEL32.DLL!UnknownFunction (0x00007ff879198364) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ff879325e91) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ff879325e91) + 0 bytes [UnknownFile:0]


Please Help Me

You realise that weapons are first person and third person actors, right?

There’s two different skeletons and two skeletal meshes - which are two different models as third person is what is rendered by all other clients so the poly-count is lower for this one.

-WM

I had some trouble with crashes too when remodelling my weapons, here are some of the possible problems:

  1. You modified the skeleton by accident and ignored warnings when importing
  2. You forgot to set the right animation blueprint or it got lost while copying
  3. You disconnected some of the single animation assets that are set in the weap-blueprint

The error message points towards animation, so maybe run a diff between your weapon and a vanilla weapon and see what might be wrong.

Cheers

can you possibly make a tutorial on how to do it with pictures or a video???

please i would much appriciate it

Bump bump bump

Try going into third person mode and taking the sword out from there. If it works fine then you just forgot to create a first person mesh as well. You’ve gotta have a first and third person mesh.