Giter Club home page Giter Club logo

Comments (12)

reinterpretcat avatar reinterpretcat commented on May 24, 2024

This error is thrown when initialization process failed, see

https://github.com/reinterpretcat/utymap/blob/master/unity/demo/Assets/Scripts/Core/InitTask.cs

Actual error should be somewhere deeper in stack trace

from utymap.

hiteshbpatel avatar hiteshbpatel commented on May 24, 2024

Okay. Thanks.
Is there any general cause for this error?
Can you tell what I must be doing wrong?

from utymap.

reinterpretcat avatar reinterpretcat commented on May 24, 2024

Missing core lib might be one of the reasons. Have you built it according to the docs?

from utymap.

hiteshbpatel avatar hiteshbpatel commented on May 24, 2024

Yeah. First I built it on android and got the library, copied to the unity asset folder and created the application.
I have followed the same instructions as given

from utymap.

hiteshbpatel avatar hiteshbpatel commented on May 24, 2024

Hi, I was checking the logs for the application.

The app isn’t being able to generate modelBuilder in InitTask.cs.
The android log says,

[Debug] file: read text from /storage/emulated/0/Android/data/com.utymap.demo/files/config/icon.schema.txt

But that icon.schema.txt file isn’t there on my phone, so isn't config folder too.

from utymap.

reinterpretcat avatar reinterpretcat commented on May 24, 2024

These files are part of streaming assets which are embedded to apk, so the error reason is something else

from utymap.

hiteshbpatel avatar hiteshbpatel commented on May 24, 2024

Yeah I will look into it.

One more thing, I had been getting the below exception when I try to load the map in unity editor. I couldn't really
figure out why it is so. Can you help me with this one please.

[Error] library:Cannot execute.. Exception: System.ArgumentException: An element with the same key already exists in the dictionary.

from utymap.

reinterpretcat avatar reinterpretcat commented on May 24, 2024

Without full stack trace it is hard to say what is the reason

from utymap.

hiteshbpatel avatar hiteshbpatel commented on May 24, 2024

Hi, is there any way to find distance between 2 geo points using utymaps??

from utymap.

reinterpretcat avatar reinterpretcat commented on May 24, 2024

Yes, it is there:

In native:
https://github.com/reinterpretcat/utymap/blob/master/core/src/utils/GeoUtils.hpp
GeoUtils::distance

In managed:
https://github.com/reinterpretcat/utymap/blob/master/unity/library/UtyMap.Unity/Utils/GeoUtils.cs
GeoUtils.Distance

from utymap.

hiteshbpatel avatar hiteshbpatel commented on May 24, 2024

You are the best. Thanks man.

I am trying to use utymaps & move the 3d- object on the basis of the current location of the user. I am having the problem with getting the current location & refreshing it.

The code works fine with another dummy project. I can detect the location & it updates but with utymaps it gives me (approximately correct) location and it doesn't update.

from utymap.

hiteshbpatel avatar hiteshbpatel commented on May 24, 2024

Hi,
Can you tell me what is the scale you have used in the utymaps. I mean how much meter is equivalent to 1 unity unit?
Is it 1:1?

Also when the maps loads & the model lands on the maps, he always faces towards same direction. How is that working? Is is possible to face the object on the direction where user is facing using utymaps?

from utymap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.