#vrad fails to run, fails with error "OS error message: Access is denied"

1 messages · Page 1 of 1 (latest)

candid mica
#

This seems to be a fairly common occurence according to google where the tips are usually reinstall or to launch hammer as admin, something I don't fully understand how to do since hammer now seems to be launched via the cs2 executable. I have made sure to elevate privileges for all users for both cs2.exe and vrad3.exe, but I am unsure if that's where the access problem even comes from. I had a look at what cli command is actually ran and noticed that it was trying to write to appdata/temp/ on the c: drive instead of d: where cs is installed, so I figured i would run it manually and target a temp drive on d: but the same error persists. If someone has any idea as to what folders/files vrad is trying to modify that would be awesome!

Thanks!

#
vrad3.exe -map maps/kzmaps.vmap -script script-gpu.vrad3 -vulkan -gpuraytracing -allthreads -unbufferedio -noassert
OS error message:
"Access is denied."
0....1....2....3....4....5....6....7....8....9....] FAILED (0.00 seconds)
Error running "vrad3.exe -map maps/kzmaps.vmap -script script-gpu.vrad3 -vulkan -gpuraytracing -allthreads -unbufferedio -noassert"
Unable to run Vrad3.
Light mapper didn't return valid triangles: failing.
--> Map build FAILED.
[FAIL]```
#

CLI "D:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\bin\win64\resourcecompiler.exe" -threads 7 -fshallow -maxtextureres 256 -dxlevel 110 -quiet -html -unbufferedio -i "d:/steamlibrary/steamapps/common/counter-strike global offensive/content/csgo_addons/kzmaps/maps/kzmaps.vmap" -noassert -world -bakelighting -lightmapMaxResolution 1024 -lightmapDoWeld -lightmapVRadQuality 1 -lightmapLocalCompile -phys -vis -nav -retail -breakpad -nop4 -outroot "C:\Users\XXXX\AppData\Local\Temp\valve\hammermapbuild\game"

#

and modified CLI command "D:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\bin\win64\resourcecompiler.exe" -threads 7 -fshallow -maxtextureres 256 -dxlevel 110 -quiet -html -unbufferedio -i "d:/steamlibrary/steamapps/common/counter-strike global offensive/content/csgo_addons/kzmaps/maps/kzmaps.vmap" -noassert -world -bakelighting -lightmapMaxResolution 1024 -lightmapDoWeld -lightmapVRadQuality 1 -lightmapLocalCompile -phys -vis -nav -retail -breakpad -nop4 -outroot "D:\temp\hammermapbuild\game"