Vrad crashes on HDR compile

Discussion in 'Mapping Questions & Discussion' started by T0AST3R, Nov 28, 2014.

  1. T0AST3R

    T0AST3R L1: Registered

    Messages:
    5
    Positive Ratings:
    1
    Whenever I try to compile my map with HDR, vrad crashes. I have an env_tonemap_controller and a logic_auto for the settings. I've done a few searches trying to find a reason, but that obviously didn't work.

    Compile Log:
     
  2. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,901
    Are you using Hammer's compiler, or something like Compile Pal or VBCT?
     
  3. T0AST3R

    T0AST3R L1: Registered

    Messages:
    5
    Positive Ratings:
    1
    I've tried both Hammer and VBCT, do I need to give more info about the vmf?
     
  4. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,901
    No. I ran into this problem recently.

    If you do LDR and HDR, you may be running out of memory. Reaaaally weird obscure bug from Source. What you can try is doing a VBSP, VVIS and VRAD (LDR only) compile with VBCT. When that is done, turn OFF the BSP and VVIS modules, turn on HDR, disable LDR and compile just a VRAD HDR compile. See if that crashes.

    Sounds stupid and such, but give it a shot.
     
    • Thanks Thanks x 2
  5. T0AST3R

    T0AST3R L1: Registered

    Messages:
    5
    Positive Ratings:
    1
    I'll give it a try.
     
  6. T0AST3R

    T0AST3R L1: Registered

    Messages:
    5
    Positive Ratings:
    1
    I followed your directions and it worked! Thanks a lot for your help!
     
    • Thanks Thanks x 1
  7. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,901
    No problemo!

    For being some weird random bug, this has popped up too many times in the past month.
     
  8. henke37

    aa henke37

    Messages:
    1,832
    Positive Ratings:
    420
    You can just use the advanced build dialog and duplicate the vrad step, removing the need to do two builds.
     
    • Thanks Thanks x 1
  9. nightwatch

    aa nightwatch

    Messages:
    640
    Positive Ratings:
    446
    Obligatory "download more ram" post
     
    • Thanks Thanks x 1
  10. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,901
    not sure if the usage will carry over because it's the same thing. The of 2 builds is to completely stop everything so stuff gets flushed, the do it again.
     
  11. henke37

    aa henke37

    Messages:
    1,832
    Positive Ratings:
    420
    The memory allocation issue is per process. Each step in the advanced build dialog is its own process.