Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error in Standalone Mode (UE 5.1.1, plugin V1.4.7) #10

Closed
Nerwy opened this issue Jun 23, 2024 · 12 comments
Closed

Compilation error in Standalone Mode (UE 5.1.1, plugin V1.4.7) #10

Nerwy opened this issue Jun 23, 2024 · 12 comments

Comments

@Nerwy
Copy link

Nerwy commented Jun 23, 2024

Hello, I just added this plugin to my project but when I try to launch the game in Standalone Mode, I get these errors that cause the game to break:
image
These issues do not seem to appear in PIE or packaged builds which is really strange.

@xessgamedev
Copy link
Collaborator

Please share a full log file.

@Nerwy
Copy link
Author

Nerwy commented Jun 24, 2024

Sorry, forgot to attach it, here is it:
XeSSIssue.log

@xessgamedev
Copy link
Collaborator

The reason should be your Blueprint referring XeSS Blueprint is loaded before XeSSBlueprint module is loaded, which is "PostEngineInit".
You can try to load you Blueprint module later or load XeSSBlueprint module earlier.

@Nerwy
Copy link
Author

Nerwy commented Jun 24, 2024

This blueprint is called from the game instance in order to initialise the XeSS upscaler at game start, is there a way to force the plugin to load before everything else including the game instance?
Even adding a delay inside the game instance before calling the function that contain the XeSS function does not work.

@xessgamedev
Copy link
Collaborator

You may try to edit XeSS.uplugin to set load phase of module XeSS and XeSSBlueprint to "PreDefault", then they will be loaded before UGameInstance::Init().

@Nerwy
Copy link
Author

Nerwy commented Jun 24, 2024

With this change the plugin does not block the load of anything else as expected but now the plugin itself does not work anymore because of this error:
image

EasyGameUI5_1_2.log

@xessgamedev
Copy link
Collaborator

Sorry, you're right. FSceneViewExtensions::RegisterExtension requires GEngine to be assigned, which is done in FEngineLoop::Init(), let me check any other solution.

@xessgamedev
Copy link
Collaborator

Please try TempFix.zip, just replace the same files.
NOTE: it is a temp fix for testing only, the final solution may change in the next public release.
TempFix.zip

@Nerwy
Copy link
Author

Nerwy commented Jun 25, 2024

Thank you for checking it out. Unfortunately this does not seem to work as now the engine crash on startup
image

@xessgamedev
Copy link
Collaborator

It seems that the plugin source or binary is not updated, please help to confirm if the files are replaced and plugin binaries re-built.

@Nerwy
Copy link
Author

Nerwy commented Jun 26, 2024

I just rebuilt the plugin with the fix and it does indeed work, thank you for the assistance. Are you planning to add this fix to an official build anytime soon?

@xessgamedev
Copy link
Collaborator

Yes, definitely, and together with other bug fixes and new features.
Thank you for reporting and helping to verify.

@Nerwy Nerwy closed this as completed Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants