Ok so there are a few things that i have done after which I am experiencing this issue.
ProjectileMesh = CreateDefaultSubobject(TEXT(“Projectile”));
At first i compiled my code that had the above line included in it as instructed in the lecture.
Then i made a change to it:
ProjectileMesh = CreateDefaultSubobject(TEXT(“Projectile Mesh”));
So I changed the String in the text macro, and after doing this, i was no longer seeing the details panel for the ProjectileMesh UStaticMeshComponent. I tried changing The visibility but it was not helping, So I decided to Create a new Blueprint class based on the new Projectile C++ class with the changed text macro. I then attempted to delete the previously created blueprint for the projectile and replace references to the new one. But i then got a message saying some errors might be encountered so its better to restart the editor without saving.
So, after restarting the editor, I force-deleted the old blueprint. My project still works, But now I am encountering lags in constant intervals of time. It was later that i realized that every time i experienced this lag, a certain message was being printed in the output log.
Here is the constantly printing message:
FUdpSocketBuilder: Failed to subscribe UdpMessageMulticastSocket to multicast group 230.0.0.1 on interface 0.0.0.0
FUdpSocketBuilder: Failed to create and initialize socket UdpMessageMulticastSocket (last error: 0)
LogUdpMessaging: Warning: StartTransport failed to create multicast socket on 0.0.0.0:0, joined to 230.0.0.1:6666 with TTL 1
LogSlate: Took 0.009071 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/Roboto-Light.ttf’ (167K)
LogUdpMessaging: Warning: UDP messaging encountered an error. Auto repair routine started for reinitialization
I am not providing screenshots for any code as I am not encountering compile time errors, and the game logic works completely fine.
So, that’s the issue entirely, please help me out!