Forum Discussion
rhill
10 years agoHonored Guest
PlatformUIGlobalMenu + Note4 + time = crash?
Weird bug I've had when building for GearVR. It appears on Note 4 but not S6. If you do the long-press to go to the global menu, and then a short press to return to the game, then a few seconds lat...
rhill
10 years agoHonored Guest
I guess the trick then is why would it cause a bus error, and what changes after using the OVR menu that would make it inclined to do so?
Am I to take it that the MenuSwitcher.switchToMenu() function triggered it? It's not doing anything very exotic memory-wise. It accesses some arrays.
Am I to take it that the MenuSwitcher.switchToMenu() function triggered it? It's not doing anything very exotic memory-wise. It accesses some arrays.
/// <summary>
/// Switches to menu according to index of ind
/// </summary>
/// <param name="ind"></param>
public void switchToMenu(int ind)
{
if (ind<0)
ind=0;
if (ind>=menuList.Length)
ind=menuList.Length-1;
bool val = false;
if (keyController != null && keyController.isGamepad())
{
val=true;
}
if ((ind==2)&&(currentMapPopup > -1)) //Map index
{
Menu02.switchMenu(mapPopups[currentMapPopup],val);
}
else
{
Menu02.switchMenu(menuList[ind],val);
}
}
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 2 years ago
- 2 years ago