#Hello, I have some errors while
1 messages ยท Page 1 of 1 (latest)
UATHelper: Packaging (Windows): Module.SnapCentral.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl ACentralGrid::ACentralGrid(void)" (??0ACentralGrid@@QEAA@XZ) referenced in function "void __cdecl InternalConstructor<class ACentralGrid>(class FObjectInitializer const &)" (??$InternalConstructor@VACentralGrid@@@@YAXAEBVFObjectInitializer@@@Z)
UATHelper: Packaging (Windows): Module.SnapCentral.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl ACentralGrid::BeginPlay(void)" (?BeginPlay@ACentralGrid@@MEAAXXZ)
UATHelper: Packaging (Windows): Module.SnapCentral.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl ACentralGrid::Destroyed(void)" (?Destroyed@ACentralGrid@@MEAAXXZ)
UATHelper: Packaging (Windows): Module.SnapCentral.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl ACentralGrid::OnConstruction(struct UE::Math::TTransform<double> const &)" (?OnConstruction@ACentralGrid@@MEAAXAEBU?$TTransform@N@Math@UE@@@Z)
UATHelper: Packaging (Windows): Module.SnapCentral.cpp.obj : error LNK2019: unresolved external symbol "public: struct FSnapCentralParameters __cdecl ACentralGrid::GetSnapParameters(class UObject *,struct UE::Math::TVector<double>,class TEnumAsByte<enum ESnapType>,struct FSnapAxis,struct FLockAxis,class UStaticMesh *)" (?GetSnapParameters@ACentralGrid@@QEAA?AUFSnapCentralParameters@@PEAVUObject@@U?$TVector@N@Math@UE@@V?$TEnumAsByte@W4ESnapType@@@@UFSnapAxis@@UFLockAxis@@PEAVUStaticMesh@@@Z) referenced in function "public: static void __cdecl ```
only when packaging?
Yes
these IF?
this is at the top of the class
and i bet your header file still has the declerations
so it cant find anything to link again
It's a plugin, not my code
can you find BeginPlay in header
yup
thats the issue
remove the '
if WITH EDITOR
from the top of the cpp file
and the endif from the bottom of it
and give it another try
ok, omg thank you so much, I will try now
https://www.unrealengine.com/marketplace/en-US/product/snap-central this is the plugin right
is it any good?
yeah, it works very nice
but it's only visuals and snapping
its very cheap for the functionality
you just need some kind of ''can place logic'' on your own on top of it for placing things for example
its well documented so you can see what it can do on the page
yeah i made my own snapping system and building stability using subsystems and stuff
its similar to fortnites grid system
you could consider putting it on marketplace, thse things are usefull
I tried to do my own for a couple of days and it worked, but I didn't know how to make materal visible on runtime by clicking key, so I got that and it worked out of the box, then I have my own grid on top of it which holds the logic. I need to rewrite it to C++ though because it takes so long to spawn whole grid (these are actors, terrible probably) xD
any luck>
The error dissapeared! I hoped to deliver information to you that everything is working but I'm now stuck on compligin shaders for 10minutes already xD
Thank you for the help with previous error ๐
lovely ๐
if there is no error or success I should just wait?
because it's been like this for 10minutes at least
let it finish cooking
ok! ๐
package
I did it here
yeah
you can package without editor? ill look it up
yeah
An overview of the available Build Operations (cook, package, run, and deploy) for Unreal Engine projects.
thank you, ill read while this finished, btw it moved to the next line so there is progress ๐