NyARToolkitUnity icon indicating copy to clipboard operation
NyARToolkitUnity copied to clipboard

Input color array length needs to match width * height

Open Dmart331 opened this issue 7 years ago • 1 comments

After following instructions in tutorial I'm getting the above error:

"Input color array length needs to match width * height, but 256 != 1280 * 720 UnityEngine.WebCamTexture:GetPixels32(Color32[]) NyARUnityUtils.NyARUnityRaster:updateByWebCamTexture(WebCamTexture) (at Assets/NyARUnityUtils/NyARUnityRaster.cs:53) NyARUnityUtils.NyARUnityWebCam:update() (at Assets/NyARUnityUtils/NyARUnityWebCam.cs:92) NftCameraBehaviour:Update() (at Assets/sample/SimpleNft/NftCameraBehaviour.cs:63) "

Dmart331 avatar Mar 07 '18 17:03 Dmart331

did you find a solution for this @Dmart331 @nyatla

nicks258 avatar Apr 25 '18 13:04 nicks258