Skip to content

nabrahma/Unity-Standard-Assets

Repository files navigation

Legacy Standard Assets Compatibility Layer for Unity 6

This repository contains a cleaned and modernized subset of the old Unity Standard Assets package for Unity 6.

The goal is to preserve the original Standard Assets gameplay feel while removing deprecated APIs, obsolete demo content, mobile-only systems, and unrelated modules.

Unity Version

Working target:

  • Unity 6
  • Built-in Render Pipeline
  • Old Input Manager compatible
  • Active Input Handling should be set to Both

Important input setting:

Edit > Project Settings > Player > Other Settings > Active Input Handling > Both

The controllers intentionally use UnityEngine.Input.GetAxis and Input.GetButtonDown to preserve the old Standard Assets movement feel. Do not set Active Input Handling to Input System Package (New) only.

What This Contains

First Person Controller

Located in:

LegacyControllers/FirstPerson
LegacyPrefabs/FirstPerson
LegacyAudio/FirstPerson

Includes:

  • Classic FPS controller
  • Rigidbody FPS controller
  • Mouse look
  • Walking and sprinting
  • Jumping
  • Head bob
  • Footstep audio
  • Camera rotation
  • Legacy movement feel preserved

Third Person Controller

Located in:

LegacyControllers/ThirdPerson
LegacyAnimations/ThirdPerson
LegacyPrefabs/ThirdPerson
LegacyMaterials/ThirdPerson

Includes:

  • Classic third person character controller
  • Third person prefab
  • Original Ethan model
  • Original humanoid animation controller
  • Walk, run, turn, crouch, jump, airborne animation flow
  • Camera-relative movement
  • Rotation smoothing and original root-motion behavior

Car Controller

Located in:

LegacyControllers/Vehicles
LegacyPrefabs/Vehicles
LegacyMaterials/Vehicles
LegacyAudio/Vehicles

Includes:

  • Original Standard Assets car controller
  • Wheel collider physics
  • Steering
  • Acceleration and braking
  • Handbrake
  • Suspension helper scripts
  • Skid effects
  • Engine audio
  • Brake lights
  • Preserved old car handling feel

Cameras

Located in:

LegacyControllers/Cameras
LegacyPrefabs/Cameras

Includes:

  • Free look camera rig
  • Multipurpose camera rig
  • Handheld camera
  • CCTV/look-at style camera helpers
  • Camera wall clip protection
  • Simple fallback follow camera

Lightweight Gameplay Helpers

Located in:

LegacyControllers/Shared

Includes:

  • LegacyPlayerInteractor
  • LegacyInteractable
  • LegacyVehicleEnterExit
  • LegacyFlashlight
  • LegacyDemoBootstrap
  • Head bob and FOV helper classes

Demo Scene

Located in:

LegacyDemo/LegacyDemoScene.unity

The demo scene includes a bootstrap object that spawns:

  • FPS controller
  • TPS controller
  • Drivable car
  • Vehicle camera
  • Simple environment
  • Enter/exit interaction hooks
  • Flashlight support

What Was Removed

This repository intentionally does not include unrelated legacy Standard Assets systems.

Removed:

  • Water systems
  • Sky and environment extras
  • Terrain extras
  • Grass and vegetation
  • Particle demo prefabs
  • Fire and explosion demo effects
  • Image effects
  • Projectors and old visual effect demos
  • Editor tools
  • Old mobile UI input layer
  • CrossPlatformInput mobile controls
  • Obsolete demo menus
  • Forced reset scripts
  • Benchmark/demo utilities
  • Aircraft controller
  • Rollerball controller
  • Old VR support
  • Touch controls
  • Prototyping assets

Unity 6 Compatibility Changes

Main updates:

  • Removed dependency on UnityStandardAssets.CrossPlatformInput
  • Replaced controller input reads with old Input Manager APIs
  • Updated rigidbody code for Unity 6:
    • Rigidbody.velocity to Rigidbody.linearVelocity
    • Rigidbody.drag to Rigidbody.linearDamping
  • Removed obsolete GUI dependencies
  • Removed unused AI/demo/mobile scripts
  • Preserved old namespaces and .meta GUIDs where practical so prefab script references stay stable
  • Cleaned stale prefab/material/animation references after removing unrelated assets

Required Input Axes

The old Input Manager must contain these axes:

Horizontal
Vertical
Mouse X
Mouse Y
Jump

These are present in most Unity projects that still include the old Input Manager defaults.

Folder Structure

LegacyControllers/
  Cameras/
  FirstPerson/
  Shared/
  ThirdPerson/
  Vehicles/

LegacyAnimations/
  ThirdPerson/

LegacyPrefabs/
  Cameras/
  FirstPerson/
  ThirdPerson/
  Vehicles/

LegacyMaterials/
  Physics/
  ThirdPerson/
  Vehicles/

LegacyAudio/
  FirstPerson/
  Vehicles/

LegacyDemo/

Notes

This package is not a migration to Unity Starter Assets and does not use Cinemachine or the new Input System movement workflow.

It is intended for lightweight horror, exploration, walking-simulator, and GTA-like prototype projects that need the old Standard Assets controller behavior inside Unity 6.

About

Refactored Unity Standard Assets for Unity 6 with deprecated API fixes, cleaned architecture, and modular FPS/TPS/Vehicle systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors