Start a new topic

Unity 2020.1 not working with Wikitude 9.3.1

When I start a new project with Unity 2020.1 (tried it with 2020.1.7f1 and 2020.1.9f1) I get the following error in the console.

'/Applications/Unity/Hub/Editor/2020.1.9f1/,49): error CS1061: 'RectMask2D' does not contain a definition for 'padding' and no accessible extension method 'padding' accepting a first argument of type 'RectMask2D' could be found (are you missing a using directive or an assembly reference?)' 

Any idea how to fix this?

1 Comment

After a few hours! of research I found out that when I was installing the Wikitude package it somehow corrupted not only the project I was in, but actually all other projects that I upgraded to Unity 2020.1.9f1 or that I started new all got the same error messages.

I found a workaround by quitting the Unity project, uninstalling Unity 2020.1.9f1 and then re-installing Unity 2020.1.9f1. Once I had done that, it was all working fine again, except for the Wikitude project. The errors were gone, but now I needed to add the ARFoundation package and enable 'unsafe code' in the Preferences to get rid of the new errors that appeared. But it was running now.

This all gives me very little confidence to work with Wikitude for now, so I will be switching back to Vuforia.

Login or Signup to post a comment