`ForceSnowPass` not working in `localGame`

General guideline is: if you ‘need help’, do not post here. Post in the right support section instead.

WARNING: THIS IS NOT A HELP SECTION

If you post here without knowing what you’re doing you’ll most likely get suspended. You should probably instead post in:


For a good bug report you should probably include:

  1. Client (production/canary) and FXServer version
    Beta Build 7195

  2. What you expected to happen
    ForceSnowPass(true) to enable snow inside localGame.

  3. What actually happens
    No snow appears, even when changing the weather to XMAS.

  4. Category of bug (eg. client, server, weapons, peds, native)
    native / client / localGame

  5. Reproducible steps, preferably with example script(s)

    1. Create localGame resource in App Data Folder
    2. Use following repo code:
      Citizen.CreateThread(function()
          SetEntityCoords(PlayerPedId(), 1,1,1, false, false, false, true)
      
          ShutdownLoadingScreen()
          ShutdownLoadingScreenNui()
          DoScreenFadeIn(0)
      
          ForceSnowPass(true);
          SetWeatherTypePersist("XMAS")
          SetWeatherTypeNow("XMAS")
          SetWeatherTypeNowPersist("XMAS")
      end)
      
    3. Start FiveM
    4. Start localGame with localGame resource
      E.g. localGame snow
    5. Game loads without snow on ground.