secondlife / secondlife/viewer

PBR terrain material disappears when entering a region that uses PBR terrain

Open
#2,284 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale triage
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

Viewer: Atlasaurus 7.1.9.10220184061 (64bit)
Grid: Aditi
Simulator: Picnic 2024-08-06.10269922459

Description

When I move out of my test region with PBR terrain materials, and then come back, the PBR terrain reverts to default.
pbr_terrain_001
pbr_terrain_002
pbr_terrain_003

Reproduction steps
  1. Go to a region where you can change the terrain
  2. Go to World -> Region/Estate -> Terrain
  3. Check the "PBR Metallic Roughness" box
  4. Change the first material to something obvious (I chose Brick). Press OK then Apply.
  5. Log out
  6. Log back in
  7. Cross to a neighbor region or teleport away.
  8. Return to the original region.

Result:
The PBR Material reverts back to default (grey)

Expected:
The PBR Material is still visible on the terrain.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the listed region, PBR terrain, logout, teleport, and return steps. Trace how PBR terrain materials are loaded or restored when crossing regions, then verify that the selected material remains visible after returning to the original region.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.