Skip to content

chore: add rendering physics and content standards - #10

Merged
pes7 merged 7 commits into
masterfrom
refactor/rendering-physics-content-standards
Jul 27, 2026
Merged

pes7 merged 7 commits into
masterfrom
refactor/rendering-physics-content-standards

Conversation

@pes7

@pes7 pes7 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

This stacked PR adds production rendering, physics and content standards on top of refactor/production-prefab-scene-migration.

Completed scope

  • adds a dedicated rendering/physics/content validator
  • defines production physics layers: Player, NPC, Projectile, World and Interactable
  • validates required sorting layers
  • validates prefab root position, rotation and scale
  • reports negative hierarchy scales
  • reports arbitrary SpriteRenderer Z offsets
  • recommends SortingGroup for multi-renderer prefabs
  • validates zero-size BoxCollider2D and zero-radius CircleCollider2D
  • validates first-party sprite PPU, Point filtering and disabled mipmaps
  • detects likely duplicate first-party materials
  • blocks Unity builds only on content-standard errors
  • keeps advisory migration findings as warnings
  • adds editor tests for report severity semantics
  • adds Docs/RENDERING_PHYSICS_CONTENT_STANDARDS.md

Stacking

Base branch: refactor/production-prefab-scene-migration

Merge after PR #9, or retarget after earlier stacked PRs are merged.

Unity workflow

Run:

Zone UA -> Validation -> Validate Rendering and Physics

Then review the Physics 2D collision matrix and migrate warnings category by category rather than applying blind bulk changes.

Validation required in Unity 6000.5.5f1

  • project compiles with zero Console errors
  • new physics layers appear with the expected indices
  • Physics 2D collision matrix is reviewed and saved
  • content standards menu completes
  • invalid collider dimensions are reported as errors
  • prefab root and negative-scale warnings point to correct assets
  • sprite import warnings match intentional pixel-art policy
  • multi-renderer actors are reviewed for SortingGroup
  • arbitrary Z ordering is replaced without visual regressions
  • duplicate material warnings are manually reviewed
  • overlap, projectile, world collision and UI sorting smoke tests pass

The code scope is complete. This PR remains draft because Unity compilation, asset import inspection, collision-matrix configuration and visual Play Mode validation cannot be run in this environment.

@pes7
pes7 force-pushed the refactor/production-prefab-scene-migration branch from b8c76ee to eba89d4 Compare July 27, 2026 20:25
@pes7
pes7 force-pushed the refactor/rendering-physics-content-standards branch from 693326d to e6622cf Compare July 27, 2026 20:44
@pes7
pes7 changed the base branch from refactor/production-prefab-scene-migration to master July 27, 2026 20:44
@pes7
pes7 marked this pull request as ready for review July 27, 2026 20:44
@pes7
pes7 merged commit 57d949a into master Jul 27, 2026
2 checks passed
@pes7
pes7 deleted the refactor/rendering-physics-content-standards branch July 28, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant