Topic locked

Clean new project errors and warnings

February 17, 2015 - 6:23am #1

I have created a clean new project and exported to IOS and I get this lot in the console.  I read on another thread that this could be caused by a uncleaned update project from 3.0 to 4.0 but this is a brand new clean project that imports only the 4.0 unity package.

 

I am using UnityP Pro 4.6.2 

 

 

Initialize engine version: 4.6.2f1 (bd99309c2ad7)

Unable to find type [UnityEngine.dll]UnityEngine.ResourceRequest

 

(Filename:  Line: 34)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 36 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 68 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 84 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 344 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 84 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 108 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 28 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 84 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

The referenced script on this Behaviour is missing!

 

(Filename:  Line: 1608)

 

A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 40 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

 

(Filename:  Line: 1170)

 

Setting BehaviourComponentFactoryI

Clean new project errors and warnings

February 23, 2015 - 11:42pm #3

It looks like the issue has been fixed in 4.6.3. I compiled the ImageTargets 4.0.11 sample app with a Canvas set to Screen Space - Overlay in Unity 4.6.3 and it worked.

https://developer.vuforia.com/forum/vuforia-40-beta/46-gui-not-working-40-beta#comment-2047503

Clean new project errors and warnings

February 17, 2015 - 6:49am #2

Upon further Googling I discovered that 4.6.2 introduced this issue as many are commenting on it.

 

I reverted to 4.6.0 and this error has gone and also allows the GUI to now work as expected...not a Vuforia issue

Topic locked