Search Issue Tracker

Fixed in 2019.3.X

Votes

0

Found in

2018.3.0b1

2018.3.0f2

2018.4.0f1

2019.1.0a1

2019.2.0a1

2019.3.0a1

Issue ID

1153451

Regression

Yes

[Linux] Editor crash after activating custom editor in DynamicVBO::FillQuadIndexBuffer()

Linux

-

To reproduce:
1) Open attached project
2) Add Assets/test_geometry/fox_psycho_fbx into scene
3) Attach JigsawMesh script to the root of fox_psycho_fbx
4) Set mesh property of JigsawMesh to the "Plane" object, which is the child of fox_psycho_fbx

CRASH!

Reproduced in 2018.3.0b1, 2018.3.12f1, 2019.3.0a3
Not reproduced in 2017.4.0f1, 2017.4.24f1 (no crashing, but there's flickering and IndexOutOfRangeExceptions)

In Win 10, on all versions behavior looked the same as on Linux 2017.4 versions

Top of the stack trace:
#0 0x00000000927b36 in DynamicVBO::FillQuadIndexBuffer()
#1 0x00000000927c2e in DynamicVBO::ReleaseChunk(unsigned int, unsigned int)
#2 0x0000000081ab11 in GraphicsHelper::CreateQuadChunk(GfxDevice&, bool, RectT<float> const&)
#3 0x0000000067bf59 in ImageFilters::Blit(ShaderPassContext&, Texture*, RenderTexture*, int, SharedMaterialData const*, char const*, Shader*, int, ImageFilters::BlitFlags, CubemapFace, Vector2f const&, Vector2f const&)
#4 0x0000000067cbb0 in ImageFilters::Blit(ShaderPassContext&, Texture*, RenderTexture*, int, Material*, int, ImageFilters::BlitFlags, CubemapFace, Vector2f const&, Vector2f const&)
#5 0x0000000067d0e9 in ImageFilters::Blit(ShaderPassContext&, Texture*, RenderTexture*, int, Vector2f const&, Vector2f const&, ImageFilters::BlitFlags)
#6 0x0000000081c418 in GraphicsScripting::Blit(Texture*, RenderTexture*)
#7 0x00000002ede932 in Graphics_CUSTOM_Blit2(MonoObject*, MonoObject*)

  1. Resolution Note (fix version 2019.3):

    Prevent crash when processing unexpected mesh data.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.