getnamo / BLUI-Unreal

CEF based HTML UI for the Unreal Engine.
MIT License
350 stars 73 forks source link

Compiler error C2027 at UE4.26 dev-rendering branch #55

Closed happyend85 closed 1 year ago

happyend85 commented 3 years ago

Trying to use the plugin in dev-rendering branch (UE 4.26). Every time I try to compile the plugin, the error 2027 appears. Whyever the compiler says, that it couldn't find the definition for Texture2DRecource, also when I include the .h file. Does anyone have any hints on how to compile the plugin for UE 4.26?

happyend85 commented 3 years ago

Anyone any idea?

getnamo commented 3 years ago

You might need to post the exact error message/line number and context to give clues as to what would need to change for 4.26. Usually plugin gets updated ~ 1 week after new engine release otherwise.

happyend85 commented 3 years ago

Hi, Error msg is: C2027: Using of undefined type "FTexture2DRecource" in BlueEye.cpp Line 178

getnamo commented 3 years ago

Change FTexture2DResource to FTextureResource

Seems like 4.26 generalized the class name

happyend85 commented 3 years ago

Tried it. But then I receive more errors, that FTextureResource couldn't be converted to FTexture2DRecource. Will wait until you release the plugin for UE 4.26.Dou you have a plan when you will do that?

getnamo commented 3 years ago

I generally sweep all my plugins ~ 1 week after the first non-preview engine version gets released. Sometimes it takes a bit longer especially if there are big changes.