missing behviors in XCode
by rennie moffat · in iTorque 2D · 09/21/2010 (6:39 pm) · 9 replies
Hi,
I have a bunch of missing behaviors according to the XCode console. The thing is that they exist in the folder and attached to the particular objects via the editor.
Any clues?
I have a bunch of missing behaviors according to the XCode console. The thing is that they exist in the folder and attached to the particular objects via the editor.
Any clues?
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#3
It now is missing these behaviors.
BehaviorComponent::addBehaviors - Missing Behavior newBtnMMBehavior
BehaviorComponent::addBehaviors - Missing Behavior levelBtnMMBehavior
BehaviorComponent::addBehaviors - Missing Behavior instructionsBehavior
BehaviorComponent::addBehaviors - Missing Behavior aboutBtnMMBehavior
BehaviorComponent::addBehaviors - Missing Behavior AudioMainFeatureBehavior
BehaviorComponent::addBehaviors - Missing Behavior AudioDescriptionBehavior
This is odd. As I say, they are attached the objects in the level.t2d, in the folders etc etc etc.
:::!!?:!::
09/21/2010 (8:00 pm)
Ok the randomness has returned. It now is missing these behaviors.
BehaviorComponent::addBehaviors - Missing Behavior newBtnMMBehavior
BehaviorComponent::addBehaviors - Missing Behavior levelBtnMMBehavior
BehaviorComponent::addBehaviors - Missing Behavior instructionsBehavior
BehaviorComponent::addBehaviors - Missing Behavior aboutBtnMMBehavior
BehaviorComponent::addBehaviors - Missing Behavior AudioMainFeatureBehavior
BehaviorComponent::addBehaviors - Missing Behavior AudioDescriptionBehavior
This is odd. As I say, they are attached the objects in the level.t2d, in the folders etc etc etc.
:::!!?:!::
#4
:?
09/21/2010 (8:25 pm)
Ok, so I re added in the dso files for the missing behaviors and they are now there.:?
#5
I thought we could remove all dso files. I did and this fixed a problem I had been having, my app was taking to long to load so, when running just from the device, it would crash. When I removed all the dso's I could run it from the device. However, by removing all dso's It seems that all my behaviors were non existent.
Can some one explain this please?!
09/21/2010 (8:31 pm)
So, after all of this, I hope some one sees this but... It has led me to a realization. I thought we could remove all dso files. I did and this fixed a problem I had been having, my app was taking to long to load so, when running just from the device, it would crash. When I removed all the dso's I could run it from the device. However, by removing all dso's It seems that all my behaviors were non existent.
Can some one explain this please?!
#6
You must package all .cs files - make sure you have a .cs file for those .dsos that you put back.
09/21/2010 (8:38 pm)
Rennie, it looks like you didn't have all the .cs files compiled to .dso. When I deploy to the device I delete all .dso files and they are re-built on the device.You must package all .cs files - make sure you have a .cs file for those .dsos that you put back.
#7
What does this mean? I simply removed all dso files (only from behaviors - as there were a lot) and put them in a separate folder on my desktop, leaving the cs files untouched.
09/21/2010 (8:47 pm)
Quote:
Rennie, it looks like you didn't have all the .cs files compiled to .dso.
What does this mean? I simply removed all dso files (only from behaviors - as there were a lot) and put them in a separate folder on my desktop, leaving the cs files untouched.
#8
09/29/2010 (10:08 pm)
I was having same problem,issue is iPhone does not generate dso for the behaviors so if you clean the dso and deploy it on iPhone it says missing behaviors.So just before deploying on device make sure you have dso's generated for behaviors and it would work fine.
#9
If anyone can explain that I would love to know.
09/29/2010 (10:21 pm)
Yah I have actually had a couple of curious things happen. One of my levels, lost all of it's behaviors, so now I have to go back in and replace them. Second, I removed all of my dso's thinking that they would "reappear" as they would be regenerated. They didn't. However it doesn't stop there. Just to test, I removed all cs behaviors and then ran the game via XCode and, well, it worked, behaviors and all. If anyone can explain that I would love to know.
Torque Owner rennie moffat
Renman3000
The only thing remotely new that I have done is remove all my behavior dso files. I am sure that none of my cs files are gone or were taken out, only the dso's. Other than that, I ham doing what has been working fine for weeks.