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

Crash in UE 5.1.1 when importing new texture #4

Open
seriema opened this issue May 8, 2023 · 0 comments
Open

Crash in UE 5.1.1 when importing new texture #4

seriema opened this issue May 8, 2023 · 0 comments

Comments

@seriema
Copy link
Contributor

seriema commented May 8, 2023

When importing a new texture, the validator crashes the editor.
image

Callstack:
image

Based on a discussion with Ryan on the BenUI Discord, it seems like the new Interchange Plugin in UE is having the validator take a different path so it goes through the UImportSubsystem::InterchangeBroadcastAssetPostImport that always gives a nullptr as the Texture Factory. The UImportSubsystem broadcast gave a nullptr in 5.0 too so it must've taken another path in that version.
https://discordapp.com/channels/871938221892833290/925617340316524575/1104004680733970522

seriema added a commit to seriema/UE-BUIValidator that referenced this issue Sep 2, 2023
This fixes issue benui-dev#4
by checking for pre-existing settings instead of trying to get a valid
Texture Factory. Because it would likely require bigger changes if it's
to work with the Interchange plugin. We check if the texture already has
some settings that aren't valid and if so set the default (first)
setting for each.
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

1 participant