断言失败:颜色和深度缓冲区的kSurfaceUseResolvedBuffer标志不匹配

问题描述 投票:2回答:2

我使用Unity 2018.1和今天玩游戏时我得到了这个错误:断言失败:颜色和深度缓冲区每帧都有不匹配的kSurfaceUseResolvedBuffer标记(必须是更新问题)我试过搜索但没有运气。我创建了一个2D项目,因此我不使用任何着色器或材质。这是一个android项目(使用unity远程),我的脚本中没有做任何事情,除了:

void Jump // used this for a button
{
    if(movePlayers.isGrounded) //movePlayers is a script
    {
        Debug.Log("Jumping"); // to check wether player is pressing
        movePlayers.rb.velosity = new Vector2(movePlayers.direction.x * moveSpeed, movePlayers.jumpForce); // to make player jump
    }
    return;// just added this one
}

我得到的答案是远程设备。导出它时不会发生这种情况。

c# unity3d colors depth
2个回答
0
投票

可能是一个统一问题,而不是你的代码。我在2018.1.4f1上收到相同的错误垃圾邮件,但只有在编辑器中有远程设备时才会收到。错误跟踪器上有一个类似的错误,但对于金属issuetracker.unity3d.com/issues / ...也许检查你的相机? - Deji 15分钟前,信用证去了DEJI


0
投票

我正在使用2017.3并在使用“unity Remote 5”时遇到同样的问题。

我刚刚拔掉了设备,重新启动了Unity,它就不见了。

© www.soinside.com 2019 - 2024. All rights reserved.