Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Adobe Substance 3D Runtime in Webgl

Discussion in 'General Graphics' started by yitz_unity, Jan 5, 2023.

  1. yitz_unity

    yitz_unity

    Joined:
    Jun 22, 2021
    Posts:
    12
    Does Unity support updating of substance graph inputs at runtime in WebGl?

    I am trying to implement this:
    https://substance3d.adobe.com/docum...d-for-unity-scripting-232292391.html#section3

    It works in the editor and a PC/desktop build, but in WebGL I get an error:

    "ArgumentException: No Substance Input found with name..."

    I also see this error:
    "A scripted object (probably Adobe.Substance.SubstanceGraphSO?) has a different serialization layout when loading. (Read 812 bytes but expected 3708 bytes)
    Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?"

    But I think the second error is unrelated.