Big Sized Prerequisite entity Causing Engine hunk overflow

Macanick

L1: Registered
Dec 12, 2016
45
8
upload_2018-1-7_15-20-58.png


for some reason, my giant prerequisite entities on my map causing engine hunk overflow and crash my game

it only happens when compile with vrad, there's no crash when I compile without them
 

henke37

aa
Sep 23, 2011
2,075
515
What's a "prerequisite entity"?
 
Mar 23, 2013
1,013
347
Brushes above the size of 4096x4096 iirc cause problems if a face this big uses a lightmap. So cut your brushes into smaller ones
 

Macanick

L1: Registered
Dec 12, 2016
45
8
I just noticed now those brush side from entities which is not seen in-game still affect to lightmap limit and compile time (i don't know other entities but nav_prerequisite do)
so i need to decrease lightmap of those brushes for solve that problem
 

AsG_Alligator

qhull precision error
aa
Aug 5, 2016
595
1,191
Generally if you dont want a brushface to render and get lightmaps generated for it (for example faces that are obstructed by world geometry) you should use nodraw.