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.

Bug Error in XCode builds for MacOS : validateFunctionArguments failed assertion

Discussion in 'macOS' started by mudloop, May 21, 2021.

  1. mudloop


    May 3, 2009

    When building through XCode, my game starts, the menus show up, but when it switches to the game scene, it throws this error :

    validateFunctionArguments:3727: failed assertion `Vertex Function(xlatMtlMain): argument unity_ParticleInstanceData[0] from buffer(2) with offset(0) and length(20) has space for 20 bytes, but argument has a length(56).'

    I tried removing all shaders from my project to see if one of the custom shaders was causing this, but that didn't solve it.

    I tried using both Unity2019LTS and Unity2020LTS.

    Any ideas? Any workarounds? This is urgent, so any help would be appreciated.