Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Unable to start Unity3d game on BBZ10

Discussion in 'BlackBerry' started by Naethyn, Nov 5, 2013.

  1. Naethyn

    Naethyn

    Joined:
    Nov 5, 2013
    Posts:
    4
    I have followed the instructions on setting up the BB device. I am able to push the game to the device and I see it in the list of apps. The game starts up and immediately closes. The following error is in the log:
    Here is the bar-descriptor.xml generated by Unity.
    Code (csharp):
    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <qnx xmlns="http://www.BB10.com/schemas/application/1.0">
    3.     <env var="LD_LIBRARY_PATH" value="$LD_LIBRARY_PATH:app/native/lib"/>
    4.     <author>Nathan</author>
    5.     <authorId>gYAAgDs-JPO180JSS8quYtpbAWQ</authorId>
    6.     <id>com.nathan</id>
    7.     <filename>Release/BB10Player</filename>
    8.     <name>NathanTest</name>
    9.     <description>Powered by Unity3D</description>
    10.     <publisher>Nathan</publisher>
    11.     <versionNumber>1.0.0</versionNumber>
    12.     <icon>
    13.         <image>app_icon.png</image>
    14.     </icon>
    15.     <splashScreens>
    16.         <image>app_splash_square.png</image>
    17.         <image>app_splash_landscape.png</image>
    18.         <image>app_splash_portrait.png</image>
    19.     </splashScreens>
    20.     <initialWindow>
    21.         <aspectRatio>landscape</aspectRatio>
    22.         <autoOrients>false</autoOrients>
    23.         <systemChrome>none</systemChrome>
    24.         <transparent>false</transparent>
    25.     </initialWindow>
    26.     <category>core.games</category>
    27.     <action system="true">run_native</action>
    28.     <action>play_audio</action>
    29.     <action>access_internet</action>
    30. </qnx>
    I have seen other bar-descriptor files that use <permission> instead of <action> but I have read that should be ok.

    Any help is appreciated.

    Thanks,

    Nathan
     
    Last edited: Nov 5, 2013
  2. AlexThibodeau

    AlexThibodeau

    Unity Technologies

    Joined:
    Jul 23, 2013
    Posts:
    309
    Hrm... I don't see anything out of the ordinary there.... Could you submit a bug report with a sample project and post the case # here?

    Yes we currently use <action> tags they are deprecated and we will be switching to <permission> tags in an upcoming release. If you hit the "Get Log" button is there anything interesting in it? Sometimes the log from the device has a better explanation.
     
  3. Jonny-Roy

    Jonny-Roy

    Joined:
    May 29, 2013
    Posts:
    666
    Reboot your device. It might fix it, sometimes this happens when your doing stuff with the developer settings.