Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Updating project Tiny 0.32 ShaderCompiler.cs to work with 2020.2 or 2020.3 (>2020.1.9f1)

Discussion in 'Project Tiny' started by eatbuckshot, Jun 4, 2021.

  1. eatbuckshot


    Jan 10, 2016
    I know there's been very little news about the next version of Project Tiny ( version 0.33)

    I wonder if it's possible to at least get an updated

    Since at least Entities .17 is suppose to be supported through 2020.3 as it's LTS, perhaps project tiny should still be compatible?

    I've narrowed the problem down to not being able to build due to a new UnityShaderCompiler.exe

    Up through unity 2020.1.9f1, the protocol version is
    Code (CSharp):
    2.         const uint k_CompilerProtocolMagic = 201905290; // Indicates protocol version
    While for 2020.3 2021.1
    all use
    After creating a copy of the package out of the packagecache and adding the new local folder in the package manager I could modify the source.

    Per the shader compiling logs in the project log folder, at least changing that protocol version would get the build process one step further past the protocol mismatch error. Instead, it just causes UnityShaderCompiler to crash, presumably due to not updating the corresponding set of commands.

    Judging from the comments it has been a work in progress updating it to work with a later protocol version... Anyway we can get an update on that?
    maxostrach likes this.