Unity-Source-Tools icon indicating copy to clipboard operation
Unity-Source-Tools copied to clipboard

SourceBSPLoader Line 657: Index outside the bounds of array

Open Fronkln opened this issue 5 years ago • 2 comments

Map: demo_arctic BSP Version:18 (Half-Life 2 Leak)

image

Load: 47 TextureData's Load: 17981 Vertexes Load: 1391 TexInfos Load :49312 Edges Load :83899 SurfEdges Load: 49 Models Load: 115 DispInfos Load: 11395 DispVerts Load: 2 GameLumps Load :1009 TexDataStringData Load :48 TexDataStringsTable

demo_arctic.zip

Fronkln avatar Aug 12 '20 08:08 Fronkln

FIX! Very specific conditions prevented bsp faces from EVER loading.

Adding this line to BSPFile line 95 solves it. image

Fronkln avatar Oct 07 '20 15:10 Fronkln

I see another error. In third line should be &&, not &.

lewa-j avatar Oct 07 '20 21:10 lewa-j