Unreal started crashing when I press play ever since I used SweepSingleByChannel and makesphere
With what crash report? I suspect you aren’t hitting an actor so you’d crash on the last line as you would dereference a null pointer.
I am taking the unreal engine 5 and c++ basics course now , and when i try to open the unreal learning kit (knowing that i did switch the version) it crashes after opening the level (during the preparing loading) and i cannot continue the course , can any one help me please ?
Hi Could you please tell me how to acces the characters jump velocity from other actors in unreal using blueprints thank you.
Well first you need to get the character, the best way to do that depends entirely on the scenario.
PLEASE HELP!!.Intellisense is not working in visual studio 2022.I tried rider also it works sometimes and doesnt sometimes.Cany you offer some help?Thanks.Also im doing the toon tanks project and getting this error fatal error this error LNK1169: one or more multiply defined symbols found.Now even the project is not opening its telling me to build from source.
Please post the full error. It’s saying you have defined something twice which violates the One Definition Rule.
as of now i cant even open the project
ToonTanks could not be compiled. Try rebuilding from source manually
That would be because you deleted the Binaries folder which contains the compiled code and due the pre-existing issue, can’t build a new one.
Please post the log, see the Helping Us To Help You lecture if you don’t know how to do that.
This is the log output and i checked but i havent defined anything twice even the headerfiles are forward declared
LogLiveCoding: Display: TANK.gen.cpp.obj : error LNK2005: “public: __cdecl ATANK::ATANK(void)” (??0ATANK@@QEAA@XZ) already defined in TANK.cpp.obj
Creating library C:\Users\Admin\Documents\UnrealEngineC++\TanksGame2\ToonTanksProjectSetup_4.25\ToonTanksProjectSetup_4.25\ToonTanks\Binaries\Win64\UnrealEditor-ToonTanks.patch_8.lib and object C:\Users\Admin\Documents\UnrealEngineC++\TanksGame2\ToonTanksProjectSetup_4.25\ToonTanksProjectSetup_4.25\ToonTanks\Binaries\Win64\UnrealEditor-ToonTanks.patch_8.exp
C:\Users\Admin\Documents\UnrealEngineC++\TanksGame2\ToonTanksProjectSetup_4.25\ToonTanksProjectSetup_4.25\ToonTanks\Binaries\Win64\UnrealEditor-ToonTanks.patch_8.exe : fatal error LNK1169: one or more multiply defined symbols found
Display: Reload/Re-instancing Complete: No object changes detected
There are basically 2 errors
TANK.cpp.obj : error LNK2005: “public: __cdecl ATANK::ATANK(void)” (??0ATANK@@QEAA@XZ) already defined in TANK.gen.cpp.obj
C:\Users\Admin\Documents\UnrealEngineC++\TanksGame2\ToonTanksProjectSetup_4.25\ToonTanksProjectSetup_4.25\ToonTanks\Binaries\Win64\ToonTanks.exe : fatal error LNK1169: one or more multiply defined symbols found
Could you show Tank.h and Tank.cpp please?
i re uploaded tank.cpp to show the include header files
I have uploaded the screenshot your help is greatly appreciated
I have uploaded the screenshot please respond thank you