nyatla / NyARToolkitUnity

NyARToolkit Unity edition. Marker based Augmented reality library.
49 stars 23 forks source link

Input color array length needs to match width * height #3

Open Dmart331 opened 6 years ago

Dmart331 commented 6 years ago

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) "

nicks258 commented 6 years ago

did you find a solution for this @Dmart331 @nyatla