x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Assertion error with bShouldBeVisible

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

Product Version: Not Selected
Tags:
more ▼

asked Apr 01 '15 at 10:38 AM in C++ Programming

avatar image

LeFxFlo
177 9 16 23

avatar image jessome Jul 21 '16 at 03:21 PM

I started encountering this after using the command-line tool to do a lighting build. When I re-launched the editor the sublevel eyeballs had changed state and when I tried to click 'em it would trigger that assert.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question