That first error for “cannot instantiate abstract class” actually isn’t as bad as it sounds, FPrimitiveSceneProxy just had a new function added to it that needs to be overriden.
To fix it, open up StreetMapSceneProxy.h and on line 153 (just below CanBeOccluded()) add:
virtual SIZE_T GetTypeHash() const override;
Next open up StreetMapSceneProxy.cpp and on line 191 (again below CanBeOccluded(), but order isn’t that important here) paste the following:
That code is a copy from FStaticMeshSceneProxy, and seems to be the same code for all of the various F**SceneProxy classes.
The next error you come across after building again is the one that still has me stumped. The error is for line 78 in StreetMapSceneProxy.cpp and says
however if you go to line 78 there is no code on that line, and the function containing the error doesn’t make any reference to FStreetMapVertexFactory whatsoever.
It also has an error on line 94 in the same file, which once again has no code on that line (just a comment), this time it says this:
So the errors are in generated code and I don’t know where it’s being generated from.
FLocalVertexFactory doesn’t have a default (empty params) constructor which is likely why that error is coming up, instead it looks like this:
but where we would make the change to the proper constructor is not very clear. I guess it’s time to summon Mr Fricker.
@Dark-Veil Hey Mike, do you have any ideas on how we might go about fixing this error so we can compile the plugin for 4.19? Once I have this built I will submit a pull request for a 4.19 branch so others can download an error free version. Thanks!
Cross posting a link to the created on GitHub for this error: