I have a problem with the architect view : my model is not diplay correctly the
The first time I launch the augmented reality function, my model appear correctly when my tracker appear. But if I quit the view and then come back, my model does not appear when I detect the tracker, what is very strange is that my texture file appear in the right top corner instead!
Has someone get the same problem?
I have maybe a problem in the intialisation, but I really do not understand why because the same lines of code are executed in both case...
I'll appreciate some help...
Emilien
N
Nicola Radacher
said
over 7 years ago
Hi,
Can you please provide me with the following details:
- what SDK version are you using?
- on which platform is this happening (Android or iOS)?
- does this happen in the sample app or in your own app?
Please send me the complete AR experience (html, js files, assets, target images), so we can test this on our end.
Thx and greetings
Nicola
E
Emilien DEGUT
said
over 7 years ago
I'm using
- Xamarin SDK Xamarin.iOS,Version=v1.0
- platform : iOS
Regards
N
Nicola Radacher
said
over 7 years ago
So this is the version from our download page, which uses the SDK 4.1.1? If not can you please either update to this version or wait for the Xamarin component update which we're currently working on. This should be ready within the next weeks and will be based on the newest SDK 5 version.
Greetings
Nicola
E
Emilien DEGUT
said
over 7 years ago
Sorry, it is the the SDK 4.1.1 of the download page.
My app will be finished at the end the next week I can't wait the future release...
E
Emilien DEGUT
said
over 7 years ago
Any News about that problem?
N
Nicola Radacher
said
over 7 years ago
Hi,
The problem here is the garbage collection of Xamarin, which takes care of destroying the models. So this is not handeld directly via the SDK.
Can you please try to destroy the model before leaving the AR view and re-initiate it again once entering.
Thx and greetings
Nicola
E
Emilien DEGUT
said
over 7 years ago
Ok, but How can I destroy the model?
N
Nicola Radacher
said
over 7 years ago
Please check the destroy() method of the Model class.
E
Emilien DEGUT
said
over 7 years ago
It seems that destroy() does not work or I do not use it correctly...
I try with some of your example and I have the same problem. Please can you give me an example that works fine with Xamarin?
E
Emilien DEGUT
said
over 7 years ago
Ok, It seems that Destroy() finaly seems to works, but I do not understand when I can call that function?
Any Suggestion?
E
Emilien DEGUT
said
over 7 years ago
Hi,
I found my problem.
In fact the problem, as said Nicola is that I did not destroy my model Correctly.
I only want to destroy my model once I quit the ArchitectView, so in Xamarin (for iOS) I add this :
I found the solution to my problem, in Xamarin (for iOS) I code this function :
Emilien DEGUT