Search Unity

Bug Error in XCode builds for MacOS : validateFunctionArguments failed assertion

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

  1. mudloop

    mudloop

    Joined:
    May 3, 2009
    Posts:
    1,107
    Hi,

    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.
     
  2. gabrieloc

    gabrieloc

    Joined:
    Apr 6, 2014
    Posts:
    49
    Were you able to resolve this?