Log in or register to post comments

Unity 4.3 problem

December 18, 2013 - 5:21am #1

I had a project based on ImageTarget. It was working correctly on unity 4.2.2 and vuforia 2.6.7 extension

 

Updating to unity 4.3 broke the camera which was then solved with vuforia 2.8.

 

Now I am getting wierd behaviour and incorrect excution of scripts

See attached a screenshot here is the error I get at the start of running:

Can't add component because class 'PremiumObjectFactoryStarterBehaviour' doesn't exist!
UnityEngine.GameObject:AddComponent(String)
QCARAbstractBehaviour:Awake()
 
Thank you
AttachmentSize
Image icon unity.PNG209.73 KB

Unity 4.6.8 problem

October 11, 2015 - 6:43am #13

I don't know if it might help but here is what happens in my case:

* I have only ran the application in unity and the build target as "Android"

it gives debug log warning messages for the first 2 like yours does but then it starts normally

 

Here are the logs for starting it in unity editor:

Can't add component because class 'PremiumObjectFactoryStarterBehaviour' doesn't exist!
UnityEngine.GameObject:AddComponent(String)
QCARAbstractBehaviour:Awake()
 
Can't add component because class 'PremiumComponentFactoryStarterBehaviour' doesn't exist!
UnityEngine.GameObject:AddComponent(String)
QCARAbstractBehaviour:Awake()

 

Unity 4.3 problem

September 11, 2014 - 11:01am #12

Could you explain what that error message is and why it comes up?

Unity 4.3 problem

April 24, 2014 - 2:59am #11

The crash will have nothing to do with this message.

The problem will lie elsewhere.

N

Unity 4.3 problem

April 23, 2014 - 7:42am #10

The error message may be harmless but appears to be the first in a line of errors that eventually causes a crash when running the ap via Xcode on our iOS device.  Here's the output from the Xcode console, which all seem to point to something regarding the tracker being initialized.  Is this a common issue I should be able to sort out?:

 

an't add component because class 'PremiumObjectFactoryStarterBehaviour' doesn't exist!

 

(Filename:  Line: 38)

 

Can't add component because class 'PremiumComponentFactoryStarterBehaviour' doesn't exist!

 

(Filename:  Line: 38)

 

<gXU2jl> : IngameManager.Start()-calling ForceShutOffLight

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

<gXU2jl> : ForceShutOffLight

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

Toggle flash OFF FAILED

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

QCARWrapper.Start

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

Could not initialize the tracker.

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

Could not initialize the tracker.

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

SetHint

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

2014-04-23 10:35:09.509 SodaShaq[5747:60b] ERROR/AR(0) 2014-04-23 10:35:09: Failed to set hint 'HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS' because the ImageTracker has not been initialized.

StartQCAR

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

2014-04-23 10:35:09.578 SodaShaq[5747:60b] ERROR/AR(0) 2014-04-23 10:35:09: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

(lldb) 

 

 

Unity 4.3 problem

April 23, 2014 - 2:10am #9

This error mesage is harmless.

N

Unity 4.3 problem

April 23, 2014 - 1:37am #8

I'm having the same problem with "Can't add component because class'PremiumObjectFactoryStarterBehaviour' doesn't exist! "

Any solutions?

I'm on macbookpro with free edition of Unity 4.3.4 and Vuforia 2.8.9

 

Thanks

Unity 4.3 problem

February 24, 2014 - 1:59am #7

I don't know if it might help but here is what happens in my case:

* I have only ran the application in unity and the build target as "Android"

it gives debug log warning messages for the first 2 like yours does but then it starts normally

 

Here are the logs for starting it in unity editor:

Can't add component because class 'PremiumObjectFactoryStarterBehaviour' doesn't exist!
UnityEngine.GameObject:AddComponent(String)
QCARAbstractBehaviour:Awake()
 
Can't add component because class 'PremiumComponentFactoryStarterBehaviour' doesn't exist!
UnityEngine.GameObject:AddComponent(String)
QCARAbstractBehaviour:Awake()
 
QCARWrapper.Start
UnityEngine.Debug:Log(Object)
QCARAbstractBehaviour:Start()
 
SetHint
UnityEngine.Debug:Log(Object)
QCARUnityImpl:SetHint(QCARHint, Int32)
QCARUnity:SetHint(QCARHint, Int32)
QCARAbstractBehaviour:Start()
 
StartQCAR
UnityEngine.Debug:Log(Object)
QCARAbstractBehaviour:StartQCAR()
QCARAbstractBehaviour:Start()
 
Trackable icol_logo lost
UnityEngine.Debug:Log(Object)
DefaultTrackableEventHandler:OnTrackingLost() (at Assets/Qualcomm Augmented Reality/Scripts/DefaultTrackableEventHandler.cs:105)
DefaultTrackableEventHandler:OnTrackableStateChanged(Status, Status) (at Assets/Qualcomm Augmented Reality/Scripts/DefaultTrackableEventHandler.cs:56)
TrackableBehaviour:RegisterTrackableEventHandler(ITrackableEventHandler)
DefaultTrackableEventHandler:Start() (at Assets/Qualcomm Augmented Reality/Scripts/DefaultTrackableEventHandler.cs:30)
 
Trackable icol_logo found
UnityEngine.Debug:Log(Object)
DefaultTrackableEventHandler:OnTrackingFound() (at Assets/Qualcomm Augmented Reality/Scripts/DefaultTrackableEventHandler.cs:84)
DefaultTrackableEventHandler:OnTrackableStateChanged(Status, Status) (at Assets/Qualcomm Augmented Reality/Scripts/DefaultTrackableEventHandler.cs:52)
TrackableBehaviour:OnTrackerUpdate(Status)
QCARManagerImpl:UpdateTrackablesEditor()
QCARManagerImpl:Update(ScreenOrientation, CameraDeviceMode, VideoModeData&)
QCARAbstractBehaviour:Update()

 

Unity 4.3 problem

February 24, 2014 - 1:39am #6

Hi,

We are getting exact the same error message when we run our app on Xcode. What point are we missing ? Any suggestions ?

 

- Completed reload, in  0.082 seconds

Can't add component because class 'PremiumObjectFactoryStarterBehaviour' doesn't exist! 

(Filename:  Line: 38)

Can't add component because class 'PremiumComponentFactoryStarterBehaviour' doesn't exist!

(Filename:  Line: 38)

QCARWrapper.Start

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

Could not initialize the tracker.

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

Could not initialize the tracker.

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

SetHint 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

2014-02-24 11:18:41.950 DUPPAR[446:60b] ERROR/AR(0) 2014-02-24 11:18:41: Failed to set hint 'HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS' because the ImageTracker has not been initialized.

StartQCAR

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

2014-02-24 11:18:42.011 DUPPAR[446:60b] ERROR/AR(0) 2014-02-24 11:18:42: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

Requested Focus mode FOCUS_MODE_CONTINUOUSAUTO.  Not supported on this device.

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

Focus Mode Changed To FOCUS_MODE_NORMAL

 (Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

Unity 4.3 problem

December 19, 2013 - 4:04am #5

Sorry for the disturbance. The problem was in my own scripts

I had suspicted the vuforia side as the migration was done at the same time as changes for the script.

Everything from vuforia side works as did before

 

Thank you

Unity 4.3 problem

December 18, 2013 - 10:25pm #4

As you've recognized, that's not an error, it's just a log message and it won't affect your app.

What's the issue that you're seeing with your app after migrating?

Unity 4.3 problem

December 18, 2013 - 10:06pm #3

Thank you for the fast reply.

 

I have followed the the migration guide but the problem still exists.

It even happens when creating a new project directly in 2.8 (not migrating) like the one in the dev guide: https://developer.vuforia.com/resources/dev-guide/step-2-compiling-simple-project

 

NOTE: it apears that the message is a debug log not an error as I stated in the previous post

Unity 4.3 problem

December 18, 2013 - 5:51am #2

Have you followed the steps in the Migration guide ?

https://developer.vuforia.com/resources/dev-guide/migrating-your-unity-project

 

Log in or register to post comments