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"

Debug Linux Persona Crash

This post is similar to this with a difference, it only happens if I'm using the Editor in Debug mode (aka. UE4Editor-Linux-Debug).

I don't know if the crash has the same origin, but from the debug I've been doing this is the error message:

 Assertion failed: Assertion failed:  [File:/home/ricardo/Programs/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLDevice.cpp] [Line: 329]
 [API][Error][High][1281] GL_INVALID_VALUE error generated. <numlayers> must be 6 for new texture's target TEXTURE_CUBE_MAP.

I suppose the error occurs while trying to render the Sky Box from the Persona editor.

GDB Backtrace

Crash Log

Product Version: UE Github Master branch
Tags:
stacktrace.txt (7.0 kB)
crashinfo.zip (16.9 kB)
more ▼

asked Jan 31 '17 at 10:30 PM in Linux

RicardoEPRodrigues gravatar image

RicardoEPRodrigues
1 1 3

aknarts gravatar image aknarts Feb 01 '17 at 09:21 AM

Hi, no that is a different crash than the linked post. The linked crash was resolved in some commit now merged into 4.15.

Your actual issue is closer to the metal. I would blame the driver, but you provide little detail(and the gdb output is not that helpful either :D) By the way the full crash log from the project is usually more helpful than what debugger gives you.

Also running the editor in Debug mode does produce different results than in the shipping mode.

RicardoEPRodrigues gravatar image RicardoEPRodrigues Feb 01 '17 at 12:02 PM

Where is the crash log located? I'll reproduce the error and upload the log if it helps. :)

aknarts gravatar image aknarts Feb 01 '17 at 12:04 PM

I do not have UE here with me but it is in the project directory in the Save subdirectory and it should be quite apparent from there.

RicardoEPRodrigues gravatar image RicardoEPRodrigues Feb 01 '17 at 01:52 PM

I updated the question to have the crash log. Hope it helps.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

That's a valid issue. If you want to fix it quickly, edit OpenGLTexture.cpp, FOpenGLDynamicRHI::RHICreateShaderResourceView() and replace the last parameter in TextureView() - 1 with 6, like shown below.

     FOpenGL::TextureView( Resource, TextureCube->Target, TextureCube->Resource, GLFormat.InternalFormat[bSRGB], MipLevel, 1, 0, 6);

Or just wait until that fix bubbles up to main.

more ▼

answered Feb 01 '17 at 06:46 PM

RCL gravatar image

RCL STAFF
1.8k 47 6 72

RicardoEPRodrigues gravatar image RicardoEPRodrigues Feb 01 '17 at 06:56 PM

For now I use UE4Editor that doesn't seem to be affected.

But I can make a Pull Request to correct the issue if it helps.

RCL gravatar image RCL STAFF Feb 01 '17 at 06:59 PM

It has already been fixed in one of development branches, the fix will probably make it to master next week or so.

(comments are locked)
10|2000 characters needed characters left
Your answer
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