====== ArmA 3 Terrain Layers RVMAT Crash ====== [[:arma3|ArmA 3]], [[arma3:config|Config]], [[arma3:missions|Missions]], [[arma3:modeling|3D Modeling]], [[arma3:scripting|Scripting]], [[arma3:terrain|Terrain]], [[arma3:texturing|Texturing]], [[arma3:tools|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.