1.9 KiB

Thob Observations: Week 3 Task 2 - Texture Swap Edge Case Audit

Thob Observations from Task Notes

  • Edge Case: Asset Size Stress Test: Discovered a critical Silent Upload Limit at ~5MB. High-resolution textures (like the 8K Jupiter and Sun maps) fail to upload; the builder does not provide an error message, leading to "stale" or "missing" asset states.
  • Edge Case: Multi-Asset Persistence: Once textures are within the size limit, the interaction is stable, but Session Persistence is MISSING. Selecting Jupiter and refreshing the browser resets the object to its default texture only.
  • Edge Case: Aspect Ratio/Mapping: The Sphere UV mapping correctly handled different 2:1 aspect ratio textures without stretching or seam issues.
  • Main limitation observed: Silent Failures & State Reset. The loss of selection state on refresh means that "previewing" a specific texture variant requires manual re-selection every time the builder reloads.
  • Reliability Verdict: Partially Reliable / Fragile (Due to persistence and upload limits).

Console Warnings/Errors Seen (Deduplicated) and Probable Meaning

  1. Hydration Noise: No HydrateFallback element provided. (Standard builder startup noise).
  2. Controlled State Toggle: undefined is changing from uncontrolled to controlled.
    • Meaning: Confirms that the internal React state for the RadioGroup or MaterialVariant is not initialized until the first user click.
  3. Binding Redundancy: GetBindingData... method already registered.
  4. Silent Timeout: Failed to load resource: 404 Found. (Occurs on oversized texture attempts).

Overall Read

Thob's texture system is visually stable for small assets, but the Asset Pipeline and Session Persistence are significant gaps. The fact that selections reset to default on reload indicates that the visual "State" is not being saved into the local editor session correctly.