====== ArmA 3 Terrain Layers RVMAT Crash ====== [[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]] In short: use 2048 x 2048 resolution surface mask tile size. **2021-11-13** [[https://www.pmctactical.org/arma3/pmc-poland-krynki.php|PMC Poland Krynki]] terrain is 65.5km x 65.5km in size, its got standard 1 meter / pixel scale satellite texture/mask. Mask is created from OpenStreetMap (OSM) shape data in Global Mapper, its got quite a lot of different colors. When [[arma3:tools:terrain-builder|Terrain Builder]] generates layers for this satellite it generates 37,338 layers RVMAT files. When this terrain is binarized and loaded in-game... it causes crash to desktop (CTD). If you replace satellite mask with single color placeholder and try, it works OK. [[https://www.pmctactical.org/arma3/pmc-poland-hulskie.php|PMC Poland Hulskie]] is 40km with similar OSM based satellite mask from global mapper, has 30,546 layers rvmat's and works OK. Does ArmA 3 have some 32,000 rvmat limitation? :o I should increase my surface mask tile size to reduce the RVMAT file count. **2022-02-23** [[https://www.pmctactical.org/arma3/pmc-ukraine-donetsk.php|PMC Ukraine Donetsk]] now with detailed satellite mask comes down to 42,241 data_layers\ RVMAT files. This results ArmA 3 CTD when loading the terrain. **2022-02-23T13:18:00Z** PMC Ukraine Donetsk 81,920 resolution satellite with 2048 resolution surface mask tile size generated 18,308 layers RVMAT files. This fixes loading CTD and also mapview zoomed out "mosaic" bug.