#HELP, blaster project compilation failed with Rider

1 messages · Page 1 of 1 (latest)

heady quest
#

HELP, blaster project compilation failed with Rider

#

Btw i have visual studio installed with all the neccessary things

#

i just trieed the same with just visuals studio instead of rider

#

and it still didnt work

trim lake
# heady quest Btw i have visual studio installed with all the neccessary things

Ugh, I think this can be a number of things. The first that pops in my head is.. delete Binaries, Saved and Intermediate, then right-click .uproject and Generate Visual Studio files.. Often, this is because the project doesn't have a C++ class yet, but clearly that's not what's what with Blaster. This poorly generated error message should probably also say "check Saved->Logs" ...it feels like there should be a more verbose error message lurking around somewhere. It's Rider... surely Rider can find something wrong with the code.

heady quest
#

also tried your first option

trim lake
#

mmm hmmm... mmm hmmm.... I assume you changed the session nodes to the one's in your plugin?

#

(This would likely appear as a completely different error)

heady quest
#

no i didnt change anything just imported the project in a new c++ black project

trim lake
#

Sounds fun, I would try it right now and I've been looking for a reason to lease Rider. I'm just busy with something else at the mo.

heady quest
#

"sounds fun" trying to solve a problem for 2 hours straight

trim lake
#

Well, Blaster is going to refer to Classes in the Blaster Multyiplayer plugin and any EOS plugin is going to have classes... well... that only it knows about until you refer to them in the project somewhere. I think in Blaster that's in the first boot level.. with Host and Join widget graphs. You have to get in there and use your plugin nodes instead.

heady quest
#

bro i am new to this

#

i just downloaded the plugin stephen gave

#

i didnt make it myself

trim lake
# heady quest bro i am new to this

mmm hmmm... if I was put off by your abrupt exclamation.. I might say "learn more". LOL. What do you want me to say? Or rather, what kind of an answer are you looking for? You definitrely should have started by positing a question. Would have saved you two hours.

heady quest
#

ya ik i just tried researching cause i thought maybe someone else did

#

i get these errors when i build from vs:
Severity Code Description Project File Line Suppression State
Warning C4996 'UUserWidget::bIsFocusable': Direct access to bIsFocusable is deprecated. Please use the getter. Note that this property is only set at construction and is not modifiable at runtime. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. Blaster C:\Users\johny\OneDrive\Documents\Unreal Projects\Blaster\Plugins\MultiplayerSessions\Source\MultiplayerSessions\Private\Menu.cpp 17
Error C3668 'UMenu::OnLevelRemovedFromWorld': method with override specifier 'override' did not override any base class methods Blaster C:\Users\johny\OneDrive\Documents\Unreal Projects\Blaster\Plugins\MultiplayerSessions\Source\MultiplayerSessions\Public\Menu.h 24
Error C2039 'OnLevelRemovedFromWorld': is not a member of 'UUserWidget' Blaster C:\Users\johny\OneDrive\Documents\Unreal Projects\Blaster\Plugins\MultiplayerSessions\Source\MultiplayerSessions\Private\Menu.cpp 71
Error MSB3073 The command ""C:\Program Files\Epic Games\UE_5.2\Engine\Build\BatchFiles\Build.bat" BlasterEditor Win64 Development -Project="C:\Users\johny\OneDrive\Documents\Unreal Projects\Blaster\Blaster.uproject" -WaitMutex -FromMsBuild" exited with code 6. Blaster C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44

trim lake
#

Yeah, it's awesome. It's easy once you get through the first section of the course. If you want to invite friends from around the world... there are steps. If you set your mind to it you could do it in a few days.. but you'll have to understand how your EOS plugin is working. It's that side of things that might not be obvious. By the way, most of those errors are because you're not using the multiplayer plugin that comes with the project. They will go away when you replace the broken references to classes in the plugin you're trying to use.

heady quest
#

broo what are you talking about? i am litterally on lecture 30: project creation

#

the begining of the project

trim lake
#

They're in the first boot level graphs (or classes?) behind the Host and Join.... whoa.. what? Why are you trying to compile the complete project with a different plugin of your own? That's not what the course is teaching yet.

#

Oh wait, wait wait... I gotcha.. you're about 6 or 7 lectures from making the HOST and JOIN buttons. It'll make perfect sense then.. maybe. I think.

heady quest
#

i just made the project

#

copied the plugins folder containing the plugin i downloaded from the resources

trim lake
#

Oh, you mean for the Multiplayer plugin? Not the Blaster game project in the 2nd section? You said it was an EOS plugin.. the Multiplayer plugin for the course is a NULL subsystem plugin.

#

Pretty sure Stephen does not have you try to compile the githuib repo at this point, or ever.

heady quest
#

the seecond section

trim lake
#

The times I've pulled down the repo or forks it has worked. Those errors look like menu.cpp is looking for something that isn't there. The essence of the original message. Something is missing.

solemn laurel
#

Lol ok I'm just going to chime in, answer the questions and leave. Read that log, when Stephen created the pluggin it was UE5 EA now that UE5.X.X is out a few things changed first it literally tells you how to fix the first error. It's right there, bIsFoucsable is marked private simply use the Getter function instead. Second OnLevelRemovedFromWorld no longer exists, use virtual void NativeDestruct() override instead

heady quest
#

what exactly should i change

#

@solemn laurel

#

these are my errors: Menu.h(24): [C3668] 'UMenu::OnLevelRemovedFromWorld': method with override specifier 'override' did not override any base class methods
Menu.cpp(71): [C2039] 'OnLevelRemovedFromWorld': is not a member of 'UUserWidget'
UserWidget.h(218): [C2039] see declaration of 'UUserWidget'

#

how am i to go fixing em

#

i found this function in the menu.cpp: ```cpp
void UMenu::OnLevelRemovedFromWorld(ULevel* InLevel, UWorld* InWorld)
{
MenuTearDown();
Super::OnLevelRemovedFromWorld(InLevel, InWorld);
}

#

@trim lake & @solemn laurel

heady quest
#

wait i got the build to succeeed thanks @solemn laurel

heady quest
solemn laurel
heady quest
#

And then I just released there was a newer version which worked without any tweaking