cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT (nonAPK related)

RazTOO
Honored Guest
Hi 2 all!

We wanted to post an APK of Dungeon Escape earlier end of last week but we had to optimize our game when we got our GerVR back.

... the game works fine on pc and with smooth framerate on GearVR, but we have a weird issue.... only the script doesnt work fully in the game on Gear. On the PC yes.

This script controls questions in game. You get through a door and he remembers a value towards a score and also shows next questions.

The reference to one OBJECT of this script seems to not work.... any clues???
My YouTube Channel: https://www.youtube.com/channel/UCiusRc ... uNEoUS9g4A DracoDux - VRInput (under Development) https://youtu.be/GRRADXH5yzQ Dungeon Escape https://youtu.be/-AvUolM8Uxc
7 REPLIES 7

spinaljack
Protege
I had a similar bug with FindGameObjectsWithTag on gear VR, works on PC but not the device.
Best thing to do is drag a reference onto the inspector at build time and not rely on runtime getting the reference.

If this isn't the issue then maybe find some alternative to your current method as there are other bugs in unity 5 to do with scripting.

RazTOO
Honored Guest
"spinaljack" wrote:
I had a similar bug with FindGameObjectsWithTag on gear VR, works on PC but not the device.
Best thing to do is drag a reference onto the inspector at build time and not rely on runtime getting the reference.

If this isn't the issue then maybe find some alternative to your current method as there are other bugs in unity 5 to do with scripting.


Thankspinaljack - we'll try our best to find the issue.
My YouTube Channel: https://www.youtube.com/channel/UCiusRc ... uNEoUS9g4A DracoDux - VRInput (under Development) https://youtu.be/GRRADXH5yzQ Dungeon Escape https://youtu.be/-AvUolM8Uxc

VamppiV
Honored Guest
Thanks! It helped. But now we have to rebuild all project O.O Why tags don't work? It's Unity bag, Android or what?

spinaljack
Protege
"VamppiV" wrote:
Thanks! It helped. But now we have to rebuild all project O.O Why tags don't work? It's Unity bag, Android or what?


It probably happened when they removed the simple reference feature in Unity5 (e.g. can't use gameObject.rigidbody, you have to use GetComponent(Rigidbody))

When we were developing an xbox game SendMessage stopped working! :evil:

Such is the risk of using the latest unity releases.

RazTOO
Honored Guest
"spinaljack" wrote:
"VamppiV" wrote:
Thanks! It helped. But now we have to rebuild all project O.O Why tags don't work? It's Unity bag, Android or what?


It probably happened when they removed the simple reference feature in Unity5 (e.g. can't use gameObject.rigidbody, you have to use GetComponent(Rigidbody))

When we were developing an xbox game SendMessage stopped working! :evil:

Such is the risk of using the latest unity releases.


True to that .. we had no choice 😕 Actively fixing this now.
My YouTube Channel: https://www.youtube.com/channel/UCiusRc ... uNEoUS9g4A DracoDux - VRInput (under Development) https://youtu.be/GRRADXH5yzQ Dungeon Escape https://youtu.be/-AvUolM8Uxc

RazTOO
Honored Guest
We made it .... last second 🙂 So unity5 tagging system is broken... we made it and replaced everything manually.
Our game should work now.

THANK YOU spinaljack!!! I'll update our WIP section here with the APK link.
My YouTube Channel: https://www.youtube.com/channel/UCiusRc ... uNEoUS9g4A DracoDux - VRInput (under Development) https://youtu.be/GRRADXH5yzQ Dungeon Escape https://youtu.be/-AvUolM8Uxc

spinaljack
Protege