Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug WebGPU: TypeError: Cannot read properties of undefined (reading 'features')

Discussion in 'Unity 6 Beta' started by zh99998, Dec 10, 2023.

  1. zh99998

    zh99998

    Joined:
    Mar 2, 2020
    Posts:
    18
    reproduce:
    1. create a new urp project using 2023.3.0a17
    2. enable webGLEnableWebGPU
    3. set graphics api to webgpu
    4. build and run in chrome

    Code (csharp):
    1. Invoking error handler due to
    2. TypeError: Cannot read properties of undefined (reading 'features')
    3. at _wgpu_adapter_or_device_get_features (http://localhost:53005/Build/Build.framework.js:9:290687)
    4.     at http://localhost:53005/Build/Build.wasm:wasm-function[139151]:0x2dcdbf2
    5.     at http://localhost:53005/Build/Build.wasm:wasm-function[139399]:0x2ddf27b
    6.     at http://localhost:53005/Build/Build.framework.js:9:284066
    7.     at cb (http://localhost:53005/Build/Build.framework.js:9:284102)
    8.     at http://localhost:53005/Build/Build.framework.js:9:284180
    chrome 120.0.6099.71
    windows 11 23H3
     
  2. zh99998

    zh99998

    Joined:
    Mar 2, 2020
    Posts:
    18
    And I'm sure the broser support webgpu upload_2023-12-10_14-45-19.png
     
  3. KamilCSPS

    KamilCSPS

    Joined:
    May 21, 2020
    Posts:
    449