Unity Corgi Engine PixelPerfectCamera.cs error

I bought the latest Corgi Engine Package and tried to import it using latest version of Unity: 2019.3.2f1

After package was imported successfully I was unable to run some demoes because I got these errors:

Library\PackageCache\com.unity.2d.pixel-perfect@1.0.1-preview\Runtime\PixelPerfectCamera.cs(168,13): error CS0234: The type or namespace name ‘PixelPerfectRendering’ does not exist in the namespace ‘UnityEngine.Experimental.U2D’ (are you missing an assembly reference?)

Library\PackageCache\com.unity.2d.pixel-perfect@1.0.1-preview\Runtime\PixelPerfectCamera.cs(173,13): error CS0234: The type or namespace name ‘PixelPerfectRendering’ does not exist in the namespace ‘UnityEngine.Experimental.U2D’ (are you missing an assembly reference?)

Luckily, the problem is not with Corgi Engine but Unity – you need to update the PixelPerfectCamera package.

Go to (menu) : Window->package manager in menu and update the PixelPerfectCamera package.

2D pixel package update

This will fix the fatal errors.

Unity Fatal Error: dataOffset !=file.GetPosition()

I was importing a package from Unity store and got this error:

Fatal Error:
dataOffset !=file.GetPosition()

There are probably many reasons why this error can appear but the first thing you should do is check if there is insufficient space on your computer’s hard disk (the one where you keep your projects and also the one where you keep Unity – if they are not on the same disk). I got this error wile importing very large assets package from the Asset Store Window.

So, delete some files (that you do not need anymore) from hard drive and you should be fine.

If you need to to see what makes your disk full, you can use TreeSize Free tool.