Eyufoi
(Eyufoi)
October 11, 2025, 10:48pm
1
include “CoreMinimal.h”
include “RHI.h”
include “RenderResource.h”
class FVBuffer : public FVertexBuffer{
public:
FVBuffer();
~FVBuffer();
virtual void InitRHI() override;
};
I’m at a loss on why InitRHI() is not being able to be overwritten, The error i’m getting is “member function declared with ‘override’ does not override a base class member”
PREDALIEN
(PREDALIEN)
October 11, 2025, 11:23pm
2
I copied your class into my project (5.1) and it built successfully.
It’s likely that some settings in your VS are broken.
To start, try this (although I highly doubt that this will help):
Try creating a new UE project and testing your code it there. If that doesn’t work, reinstall VS.
Eyufoi
(Eyufoi)
October 11, 2025, 11:33pm
3
I’m using 5.6 and I’ve already tried both of these with no luck, what settings do you think would be causing these problems?
PREDALIEN
(PREDALIEN)
October 12, 2025, 4:29pm
4
In this version the signature has been changed…
There is no error on the part of VS (or anything else)
Eyufoi
(Eyufoi)
October 13, 2025, 1:15am
5
yeah, it would be smart to include the required params.