Technical Documentation

Web

Last Updated: October 21, 20241 min read

Dependencies

  • git
  • CMake
  • Project System & Asset Compiler for the host operating system (Windows or native MacOS)
    • See and

Building for the first time

  1. Open a command prompt / terminal instance (not Powershell or Git Bash!)
  2. Navigate outside of your Sceneri repository (i.e. C:/Dev/sceneri โž C:/Dev)
  3. Enter the following commands:
  4. Navigate to your Sceneri repository and run the following commands
    1. Depending on platform
      1. Windows cmake -DOPTION_PACKAGE=ON -S Code -B Code/IntermediateWeb -DTARGET_ENVIRONMENT=internal_staging --preset=windows-web-ninja -DOPTION_UNITY_BUILD=ON -DOPTION_CCACHE=ON
      2. macOS cmake -DOPTION_PACKAGE=ON -S Code -B Code/IntermediateWeb -DTARGET_ENVIRONMENT=internal_staging --preset=macos-web-ninja -DOPTION_UNITY_BUILD=ON -DOPTION_CCACHE=ON
    2. cmake --build Code/IntermediateWeb --target Editor --config ReleaseDevelopment --parallel

Running

To run, you need to have a web server with COOP and COEP enabled.
  1. Open a command line / terminal window
  2. Navigate to the root of your Sceneri repository
  3. Run the python script located here.
  4. Open your browser
  5. Navigate to localhost:8000/bin/Web/ProfileDevelopment/Editor.html
    1. Note: Substitute ProfileDevelopment for your active config

Supported Browsers

  • Google Chrome
  • Edge
  • Opera
  • Safari Technology Preview
    • Not loading into scenes yet
  • Firefox Nightly
    • Not loading into scenes yet

Debugging

Copy to Clipboard