Hey community,
I stumbled across a new problem with level streaming.
Currently I set a loaded level visible with:
... ULevelStreamingKismet* toShow ...
if (toShow->GetLoadedLevel() != NULL && !toShow->ShouldBeVisible()) {
toShow->bShouldBeVisible = true;
toShow->bShouldBeVisibleInEditor = true;
}
It works right in the game but if I try to change the visibility of a level in the editor window I get a crash with this message:
Assertion failed: Level->bIsVisible == bShouldBeVisible
I already tried the Flush- und UpdateLevelStreaming functions, but they made no difference.
Do you have any other idea whats the perfect way to change the level visibility without breaking the editor functions?
Thanks in advance,
Florian