<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>Unity on OUYA - OUYA Developer Forums</title>
      <link>http://forums.ouya.tv/</link>
      <pubDate>Sat, 02 May 2015 19:55:47 +0000</pubDate>
         <description>Unity on OUYA - OUYA Developer Forums</description>
   <language>en-CA</language>
   <atom:link href="http://forums.ouya.tv/categories/unity-on-ouya/p12/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>Help: Strange OnGUI Not Working</title>
      <link>http://forums.ouya.tv/discussion/2247/help-strange-ongui-not-working</link>
      <pubDate>Sun, 28 Jul 2013 07:35:10 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>standardcomb0</dc:creator>
      <guid isPermaLink="false">2247@/discussions</guid>
      <description><![CDATA[This simple FPS meter works fine inside Unity, but once I put it on the Ouya, nothing appears!<div><br /></div><div>







<p>using UnityEngine;</p>
<p>using System.Collections;</p>
<p>&nbsp;</p>
<p>public class HudFps : MonoBehaviour&nbsp;</p>
<p>{</p>
<p>	public&nbsp; float updateInterval = 0.5F;</p>
<p>	&nbsp;</p>
<p>	private float accum &nbsp; = 0; // FPS accumulated over the interval</p>
<p>	private int &nbsp; frames&nbsp; = 0; // Frames drawn over the interval</p>
<p>	private float timeLeft; // Left time for current interval</p>
<p>	</p>
<p>	private float fps = 0f;</p>
<p>	private string fpsString = "----";</p>
<p>	</p>
<p>	void Start()</p>
<p>	{</p>
<p>	&nbsp; &nbsp; timeLeft = updateInterval; &nbsp;</p>
<p>	}</p>
<p>&nbsp;</p>
<p>	void Update()</p>
<p>	{</p>
<p>	&nbsp; &nbsp; timeLeft -= Time.deltaTime;</p>
<p>	&nbsp; &nbsp; accum += Time.timeScale/Time.deltaTime;</p>
<p>	&nbsp; &nbsp; ++frames;</p>
<p>	&nbsp;	</p>
<p>	&nbsp; &nbsp; if( timeLeft &lt;= 0.0 )</p>
<p>	&nbsp; &nbsp; {</p>
<p>	&nbsp; &nbsp; &nbsp; &nbsp; // display two fractional digits (f2 format)</p>
<p>			this.fps = accum/frames;</p>
<p>			this.fpsString = System.String.Format("{0:F2} FPS",fps);</p>
<p>			</p>
<p>			// reset</p>
<p>			timeLeft = updateInterval;</p>
<p>			accum = 0f;</p>
<p>			frames = 0;</p>
<p>		}</p>
<p>	}</p>
<p>	</p>
<p>	void OnGUI()</p>
<p>	{</p>
<p>		if (fps &lt; 20f)</p>
<p>			GUI.color = Color.red;</p>
<p>		else if (fps &lt; 30f)</p>
<p>			GUI.color = Color.yellow;</p>
<p>		</p>
<p>		GUI.Label(new Rect(5, 0, 800, 600), fpsString);</p>
<p>	}</p>
<p>}</p></div>]]></description>
   </item>
   <item>
      <title>A 500ms camera clear spike, seriously?</title>
      <link>http://forums.ouya.tv/discussion/2396/a-500ms-camera-clear-spike-seriously</link>
      <pubDate>Fri, 09 Aug 2013 01:22:47 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>Micktu</dc:creator>
      <guid isPermaLink="false">2396@/discussions</guid>
      <description><![CDATA[I lurked around the net looking for information on clear spikes - they seem to be happening a lot on Android. However, I found no definite answer. And then I got this:<div><br /></div><div><img src="http://puu.sh/3XjeV.png" alt="image" /><br /></div><div><br /></div><div>Now that's disgusting. Can any of the Unity gurus here elaborate on why this could be happening? Is it something wrong with Unity or Android, or can it be addressed by me?</div>]]></description>
   </item>
   <item>
      <title>Core package export error.</title>
      <link>http://forums.ouya.tv/discussion/2405/core-package-export-error</link>
      <pubDate>Fri, 09 Aug 2013 16:09:23 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>wbakunis</dc:creator>
      <guid isPermaLink="false">2405@/discussions</guid>
      <description><![CDATA[I'm unable to export the core OuyaSDK package. I'm constantly receiving two errors. <br /><br />EDIT: <a rel="nofollow" href="/profile/tgraupmann">@tgraupmann</a> I hope you can help me with this. I can't start coding till I can get the core package. <h4>------------------------------------------------------------------------</h4><h4>Error 1:</h4><p>"Copying file failed (2)<br /><br />Copying library/metadata/28/28c1cfd3b6e034a47866bf0ddbf9b86 to Temp/Export Package/28/28c1cfd3b6e034a47866bf0ddbf9b86/metadata"<br /></p><h4>Error 2: "In console - related to first error"<br /></h4><p>"Error while exporting package: Couldn't copy metadata"</p><h4>------------------------------------------------------------------------</h4>]]></description>
   </item>
   <item>
      <title>Spotlight in scene not creating "spotlight" effect</title>
      <link>http://forums.ouya.tv/discussion/2398/spotlight-in-scene-not-creating-spotlight-effect</link>
      <pubDate>Fri, 09 Aug 2013 02:57:38 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>lyanapps</dc:creator>
      <guid isPermaLink="false">2398@/discussions</guid>
      <description><![CDATA[I had been using a spotlight to illuminate a selected object in a scene, but for some reason it doesn't seem to be creating a "spotlight" effect anymore. The entire ground changes color when I move the light, but there is no distinct ring of light on the ground. I wanted to know if anyone else has experienced this?&nbsp;<div><br /></div><div>I'm worried it was from the last OUYA update, because I haven't changed the scene any time recently to have affected this. Is there some settings that I may have to look at? I increased the pixel light count, but other then a directional light this is the only light in the scene.</div>]]></description>
   </item>
   <item>
      <title>Unity and Maya FBX - Poor animation tools and import</title>
      <link>http://forums.ouya.tv/discussion/2394/unity-and-maya-fbx-poor-animation-tools-and-import</link>
      <pubDate>Thu, 08 Aug 2013 21:57:16 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>AmazingSparckman</dc:creator>
      <guid isPermaLink="false">2394@/discussions</guid>
      <description><![CDATA[I am new to unity so far I can tell Unity is almost useless at importing animations from Maya.<br /><br />FBX files - set to legacy - sometime work and sometimes they just don't... <br /><br />So I go in Maya and animate a simple primitive <br />delete non-deformer history <br />bake the animation<br /><br />export as FBX <br /><br />import to Unity... <br />the animation seems to work on the preview. <br /><br />oh wait... if you don't set RIG to legacy the animation just don't work. okay<br />I set to legacy ... ooo now it just appears LOL<br /><br />what a terrible game engine - sucks at something so basic .. importing animation.<br />]]></description>
   </item>
   <item>
      <title>How to install ODK on unity now</title>
      <link>http://forums.ouya.tv/discussion/2391/how-to-install-odk-on-unity-now</link>
      <pubDate>Thu, 08 Aug 2013 20:15:23 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>Eon_Games</dc:creator>
      <guid isPermaLink="false">2391@/discussions</guid>
      <description><![CDATA[I wanted to make a game on unity for my first Ouya game. But all of the tutorials I found tell me to install it through the packages folder. But when I downloaded the ODK there was no said packages folder in it. So how do I get the packages folder or if I cant how do I install the ODK now?]]></description>
   </item>
   <item>
      <title>Unity's Instantiate Broken On OUYA?</title>
      <link>http://forums.ouya.tv/discussion/2388/unitys-instantiate-broken-on-ouya</link>
      <pubDate>Thu, 08 Aug 2013 16:13:44 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>Voporak5</dc:creator>
      <guid isPermaLink="false">2388@/discussions</guid>
      <description><![CDATA[I've been having a problem for a week now where I hold my buttons on the controller to instantiate stuff at a location and sometimes my "bullets" are made where I want them to, but sometimes they are also made farther down along the Z axis. I made a separate script for testing on my comp. and instantiating my bullets works exactly how I wanted to. I originally was having the same problem on both the Ouya and my Comp, but then someone suggested I should 0 out all points of position in my prefabs. That fixed the problem on my Comp and for a little while it seemed to have fixed it on the Ouya but then I just noticed just now it was breaking again on the Ouya and at first it was occasionally but now it's happening constantly.&nbsp;<div><br /></div><div>Anyways my question is, Does the Ouya affect the way Unity's Instantiate operate?&nbsp;</div>]]></description>
   </item>
   <item>
      <title>Receipts fail to get parsed: "OuyaSDK+Receipt doesn't have the property 'gamer'"</title>
      <link>http://forums.ouya.tv/discussion/2384/receipts-fail-to-get-parsed-ouyasdk-receipt-doesnt-have-the-property-gamer</link>
      <pubDate>Thu, 08 Aug 2013 09:46:31 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>mnem</dc:creator>
      <guid isPermaLink="false">2384@/discussions</guid>
      <description><![CDATA[<div>I've purchased a consumable in my game, but when I fetch the list of receipts on start, the list is empty and I can see this error in the logs:</div><div><br /></div><div><blockquote><div><div>(Filename: /Users/mnem/Development/gridlock/Assets/Ouya/SDK/Scripts/OuyaGameObject.cs Line: 250)</div><div>JsonException: The type OuyaSDK+Receipt doesn't have the property 'gamer'</div></div></blockquote><br />Looking farther back in the log, the actual receipt data does appear to have that field:</div><div><br /></div><blockquote><div><div>I/Unity &nbsp; ( 8421): OuyaSDK.ReceiptListListener: jsonData={"gamer":"the-gamer-id-hexadecimal-string","generatedDate":"Jan 1, 1970 12:00:00 AM","identifier":"gridlock-unlock","uuid":"anotherhexstring","purchaseDate":"Aug 8, 2013 9:31:05 AM","priceInCents":199}</div><div>I/Unity &nbsp; ( 8421): UnityEngine.Debug:Internal_Log(Int32, String, Object)</div><div>I/Unity &nbsp; ( 8421): UnityEngine.Debug:Log(Object)</div></div></blockquote><div><br /></div><div>Is this an odd bug in the SDK, or am I doing something wrong? I don't fetch the receipts until "OuyaSDK.isIAPInitComplete()" returns true.</div><div><br /></div>]]></description>
   </item>
   <item>
      <title>crashes on input</title>
      <link>http://forums.ouya.tv/discussion/2386/crashes-on-input</link>
      <pubDate>Thu, 08 Aug 2013 11:50:40 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>joaquingrech</dc:creator>
      <guid isPermaLink="false">2386@/discussions</guid>
      <description><![CDATA[Hi<div><br /></div><div>My input sometimes stop working. I see nothing on the logcat, only this crash when the app begins which I have no idea what it is or why it happens. Any ideas?</div><div><br /></div><div><div>E/ActivityThread( &nbsp;537): Activity tv.ouya.console.launcher.PlayActivity has leaked ServiceConnection tv.ouya.console.lau</div><div>ncher.PlayActivity$9@42064b28 that was originally bound here</div><div>E/ActivityThread( &nbsp;537): android.app.ServiceConnectionLeaked: Activity tv.ouya.console.launcher.PlayActivity has leaked</div><div>ServiceConnection tv.ouya.console.launcher.PlayActivity$9@42064b28 that was originally bound here</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.LoadedApk$ServiceDispatcher.&lt;init&gt;(LoadedApk.java:965)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:859)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.ContextImpl.bindService(ContextImpl.java:1211)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.ContextImpl.bindService(ContextImpl.java:1203)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.content.ContextWrapper.bindService(ContextWrapper.java:394)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at tv.ouya.console.launcher.PlayActivity.doBindService(PlayActivity.java:437)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at tv.ouya.console.launcher.PlayActivity.onResume(PlayActivity.java:192)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1184)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.Activity.performResume(Activity.java:5119)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2565)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2603)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2089)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.ActivityThread.access$600(ActivityThread.java:130)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.os.Handler.dispatchMessage(Handler.java:99)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.os.Looper.loop(Looper.java:137)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at android.app.ActivityThread.main(ActivityThread.java:4745)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at java.lang.reflect.Method.invokeNative(Native Method)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at java.lang.reflect.Method.invoke(Method.java:511)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)</div><div>E/ActivityThread( &nbsp;537): &nbsp; &nbsp; &nbsp; &nbsp;at dalvik.system.NativeStart.main(Native Method)</div><div>D/Unity &nbsp; ( 1061): GL_OES_rgb8_rgba8 GL_OES_EGL_sync GL_OES_surfaceless_context GL_OES_fbo_render_mipmap GL_NV_depth_non</div><div>linear GL_NV_draw_path GL_NV_draw_texture GL_NV_texture_npot_2D_mipmap GL_OES_EGL_image GL_OES_EGL_image_external GL_OES</div><div>_vertex_half_float GL_OES_mapbuffer GL_NV_draw_buffers GL_NV_multiview_draw_buffers GL_EXT_Cg_shader GL_EXT_packed_float</div><div>&nbsp;GL_OES_texture_half_float GL_EXT_texture_array GL_OES_compressed_ETC1_RGB8_texture GL_EXT_texture_compression_latc GL_N</div><div>V_texture_compression_latc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_NV_texture_compression_s3t</div><div>c GL_EXT_texture_filter_anisotropic GL_NV_get_tex_image GL_NV_read_buffer GL_NV_shader_framebuffer_fetch GL_NV_copy_imag</div><div>e GL_NV_fbo_color_attachments GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_EXT_unpack_subimage</div><div>GL_NV_pack_subimage GL_NV_texture_compression_s3tc_update GL_NV_read_depth GL_NV_read_stencil GL_NV_uniform_buffer_objec</div><div>t GL_NV_map_buffer_range GL_EXT_robustness GL_OES_standard_derivatives GL_NV_EGL_s</div><div>D/Unity &nbsp; ( 1061): tream_consumer_external GL_EXT_separate_shader_objects GL_NV_copy_buffer GL_NV_3dvision_settings GL_E</div><div>XT_debug_marker GL_EXT_debug_label GL_KHR_debug GL_EXT_texture_storage GL_NV_pixel_buffer_object GL_NV_framebuffer_blit</div><div>GL_NV_non_square_matrices GL_NV_explicit_attrib_location GL_OES_vertex_array_object GL_NV_smooth_points_lines GL_NV_cove</div><div>rage_sample GL_EXT_occlusion_query_boolean GL_NV_occlusion_query_samples GL_NV_timer_query</div><div>I/Unity &nbsp; ( 1061): JavaSetDeveloperId</div></div><div><br /></div>]]></description>
   </item>
   <item>
      <title>[Solved]OuyaUnityApplication symbol missing.</title>
      <link>http://forums.ouya.tv/discussion/2382/solved-ouyaunityapplication-symbol-missing</link>
      <pubDate>Thu, 08 Aug 2013 05:53:04 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>wbakunis</dc:creator>
      <guid isPermaLink="false">2382@/discussions</guid>
      <description><![CDATA[<div>I've been trying to setup the Unity-Ouya plugin for the past 4 hours now. I'm currently stuck on this missing symbol error and I have absolutely no clue what to do. My guess is that the R class improperly set itself up and is missing a chunk of code. <br /><br />EDIT: Answer on bottom of this OP.<br /><h3>----------------------------------------------------------------------</h3><p><br /></p><h4>Class R:</h4>/* AUTO-GENERATED FILE.&nbsp; DO NOT MODIFY.<br />&nbsp;*<br />&nbsp;* This class was automatically generated by the<br />&nbsp;* aapt tool from the resource data it found.&nbsp; It<br />&nbsp;* should not be modified by hand.<br />&nbsp;*/<br /><br />package com.williambakunis.demoderby;<br /><br />public final class R {<br />&nbsp;&nbsp;&nbsp; public static final class attr {<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; public static final class drawable {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static final int app_icon=0x7f020000;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static final int ouya_icon=0x7f020001;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; public static final class id {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static final int mainLayout=0x7f050000;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static final int unityLayout=0x7f050001;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; public static final class layout {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static final int main=0x7f030000;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; public static final class string {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static final int app_name=0x7f040000;<br />&nbsp;&nbsp;&nbsp; }<br />}<br /><br /><br /><h4>Error shown on Unity:</h4>E:\Unity Projects\Games\Genres\racing\demoderby_ouya\Assets\Plugins\Android\src\OuyaUnityApplication.java:68: cannot find symbol<br />symbol  : variable raw<br />location: class com.williambakunis.demoderby.R<br />			InputStream inputStream = getResources().openRawResource(R.raw.key);<br />			                                                          ^<br />1 error<br /><br />UnityEngine.Debug:LogError(Object)<br />OuyaPanel:CompileApplicationClasses() (at Assets/Ouya/SDK/Editor/OuyaPanel.cs:1169)<br />OuyaPanel:CompileApplicationJava() (at Assets/Ouya/SDK/Editor/OuyaPanel.cs:1270)<br />OuyaPanel:Update() (at Assets/Ouya/SDK/Editor/OuyaPanel.cs:862)<br />UnityEditor.EditorApplication:Internal_CallUpdateFunctions()<br /><br /><h3>----------------------------------------------------------------------</h3><h4>ANSWER:</h4><p>I was able to fix this by re-importing all the Ouya-Plugins and recompiling the ID. For some reason one of the plugins was corrupted or maybe I accidentally messed with one of them. Now i'm noticing that Unity will not debug my game correctly. I'm being forced to build &amp; run the game. I would like to just run it and be able to do quick edits. I can solve this on my own. <br /></p></div>]]></description>
   </item>
   <item>
      <title>Unity 3d help and documentation is useless</title>
      <link>http://forums.ouya.tv/discussion/2271/unity-3d-help-and-documentation-is-useless</link>
      <pubDate>Mon, 29 Jul 2013 22:04:22 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>AmazingSparckman</dc:creator>
      <guid isPermaLink="false">2271@/discussions</guid>
      <description><![CDATA[Hey there guys, anyone noticed that you can pull anything useful from samples or code from the unity website?<br />it's a huge waste of time. every I have been searching on I found it here or somewhere else.. and lots of you tube. <br /><br /><br />Just thought I mention it.<br />]]></description>
   </item>
   <item>
      <title>IAP Question RE Evolving List of Purchaseables</title>
      <link>http://forums.ouya.tv/discussion/2377/iap-question-re-evolving-list-of-purchaseables</link>
      <pubDate>Wed, 07 Aug 2013 20:52:11 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>EricJ13</dc:creator>
      <guid isPermaLink="false">2377@/discussions</guid>
      <description><![CDATA[I'm experimenting with IAP and have a question pertaining to "Enter your purchasables into the OuyaGameObject. The developer creates purchasables in the developer portal. And then the OuyaGameObject has a ProductKey list where you enter the product app ids from the developer portal." from the Scene Products Example/Script section of&nbsp;<a rel="nofollow" href="https://devs.ouya.tv/developers/docs/unity">https://devs.ouya.tv/developers/docs/unity</a><br /><br />Do I understand correctly that for a product to be displayed within my game it has to be hard coded into the OuyaGameObject at compile time? As I create new purchaseables do I have to re-compile and submit my game for the to be available to players?]]></description>
   </item>
   <item>
      <title>Make.exe has stopped working</title>
      <link>http://forums.ouya.tv/discussion/2374/make-exe-has-stopped-working</link>
      <pubDate>Wed, 07 Aug 2013 12:19:42 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>Zhamul</dc:creator>
      <guid isPermaLink="false">2374@/discussions</guid>
      <description><![CDATA[When I try to compile NDK make.exe stops working. I don't get any other errors.<br /><br />I have the most recent Unity version and NDK is downloaded from the link in Ouya Panel. I had to update the paths in OuyaPanel.cs but otherwise everything worked fine during setup. None of the paths are grayed out and plugin &amp; java compiles fine.<br />]]></description>
   </item>
   <item>
      <title>IAP: OuyaGetReceiptsOnFailure doesn't seem to be getting called</title>
      <link>http://forums.ouya.tv/discussion/2375/iap-ouyagetreceiptsonfailure-doesnt-seem-to-be-getting-called</link>
      <pubDate>Wed, 07 Aug 2013 15:09:23 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>mnem</dc:creator>
      <guid isPermaLink="false">2375@/discussions</guid>
      <description><![CDATA[Hi,<div><br /></div><div>I'm testing my game to see what happens when fetching the IAP receipts fails. I'm making it fail by turning off the WiFi for the Ouya. When the game starts, it calls OuyaSDK.requestReceiptList(), which fails due to the lack of connectivity, but the&nbsp;OuyaGetReceiptsOnFailure method isn't called on my&nbsp;IGetReceiptsListener.</div><div><br /></div><div>From the output from logcat I can see that the underlying Java code knows that something is amiss ("W/IapSample( 3206): Request Receipts error"), but that doesn't seem to be forwarded to my&nbsp;IGetReceiptsListener.</div><div><br /></div><div>It's entirely possible that I'm just doing something silly :) The code for the class and the log output is at&nbsp;<a rel="nofollow" href="https://gist.github.com/mnem/fbc23a09b03324ada5a6">https://gist.github.com/mnem/fbc23a09b03324ada5a6</a>&nbsp;but what it basically does is:</div><div><br /></div><div><ol><li>Register itself as GetReceiptsListener on awake.</li><li>Wait for&nbsp;OuyaSDK.isIAPInitComplete() to be true and then try and fetch the receipts.</li><li>Fetch receipts, catching any exceptions.</li></ol><div>When the network connection exists everything works fine, but without it it seems to just silently fail and wait forever (well, for over 5 minutes at least - I got bored waiting after that). Is there something else I should be doing to be able to catch that type of error?</div></div>]]></description>
   </item>
   <item>
      <title>A question.</title>
      <link>http://forums.ouya.tv/discussion/2355/a-question</link>
      <pubDate>Mon, 05 Aug 2013 18:24:09 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>MoneyMan</dc:creator>
      <guid isPermaLink="false">2355@/discussions</guid>
      <description><![CDATA[Hello,<div><br /></div><div>Me and my team plan on making a game for OUYA, I was wondering if it costs money to port it to OUYA or if I have to buy the Unity Pro. &nbsp;All I plan on buying is the 2d Tool Kit. Is this possible?</div>]]></description>
   </item>
   <item>
      <title>Hanging IAPs</title>
      <link>http://forums.ouya.tv/discussion/2230/hanging-iaps</link>
      <pubDate>Fri, 26 Jul 2013 22:39:34 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>Ninjapretzel</dc:creator>
      <guid isPermaLink="false">2230@/discussions</guid>
      <description><![CDATA[I have already integrated IAPs successfully into multiple projects (using .js)<div><br /></div><div>I have a second project which I am testing IAPs (in .cs this time), and I can pull gamer UUID, game products no problem.</div><div><br /></div><div>When the user makes a purchase, the game hangs on the 'Hold Tight Just a Sec, Processing Payment' screen I have to close the game.</div><div>Sometimes (After I do this and relaunch the game), the UUID and products refuse to load (even when I bind something to make them retry loading, they won't). After a few minutes of waiting and then relaunching the game, sometimes it works, but then still fails to finish the purchase, hanging on that screen.</div><div><br /></div><div>Has anyone had similar issues?</div><div>The recent console update has also not helped this problem at all.</div><div>This is the last step for this game, everything else works properly, we just need IAPs working so that users can unlock the full game.</div><div><br /></div><div>Am using latest ODK 1.0.7 &nbsp;plugin and latest Android SDK (R 22.0.4)</div><div><br /></div>]]></description>
   </item>
   <item>
      <title>★ New Android  SDK Update Causing Problems?</title>
      <link>http://forums.ouya.tv/discussion/1375/new-android-sdk-update-causing-problems</link>
      <pubDate>Sun, 19 May 2013 21:45:28 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>rubix</dc:creator>
      <guid isPermaLink="false">1375@/discussions</guid>
      <description><![CDATA[I'm not sure if this is related to the error message im getting but..<br /><br />I recently updated Android SDK Platform tools from the Android SDK Manager, and setup the ODK in unity (downloaded from here <a href="https://devs.ouya.tv/developers/odk" target="_blank" rel="nofollow">https://devs.ouya.tv/developers/odk</a>).<br /><br />then I click the compile button and get an error. (pictures below)<br /><br />The aapt.exe file is missing from android-sdk\platform-tools. looks like the latest android sdk update moved it to android-sdk\build-tools\17.0.0<br /><br /><img src="http://imageshack.us/a/img829/9872/65658590.png" alt="image" /><br /><img src="http://imageshack.us/a/img801/6810/18253600.png" alt="image" /><br /><img src="http://img546.imageshack.us/img546/8403/43696048.png" alt="image" /><br />]]></description>
   </item>
   <item>
      <title>Cannot locate the Unity SDK package in the Ouya ODK</title>
      <link>http://forums.ouya.tv/discussion/2308/cannot-locate-the-unity-sdk-package-in-the-ouya-odk</link>
      <pubDate>Thu, 01 Aug 2013 11:01:09 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>queekusme</dc:creator>
      <guid isPermaLink="false">2308@/discussions</guid>
      <description><![CDATA[I watched a video on how to install the odk with unity, however when I looked in the Ouya-ODK folder, the package wasn't there...

can somebody link me to where the file actually is as I can't do anything until I have this file.]]></description>
   </item>
   <item>
      <title>java compiler issue</title>
      <link>http://forums.ouya.tv/discussion/2326/java-compiler-issue</link>
      <pubDate>Fri, 02 Aug 2013 16:53:36 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>sylvesterhansen</dc:creator>
      <guid isPermaLink="false">2326@/discussions</guid>
      <description><![CDATA[Hi<div><br /></div><div>I have spend a couple of days going over several tutorials and forum streams and can't seem to find any help with my particular problem. This is why I am finally turning to the forums in hope that someone will be able to help me out.</div><div><br /></div><div>I have no issue when I compile my plugins and I have no problems when I compile NDK</div><div><br /></div><div>It is only when I try and compile the java that I get this message:</div><div><br /></div><div><div>/Users/cykelvester/Desktop/Ouya/project_1/Assets/Plugins/Android/src/OuyaUnityApplication.java:68: cannot find symbol</div><div>symbol &nbsp;: variable raw</div><div>location: class tv.ouya.demo.OuyaUnityApplication.R</div><div>			InputStream inputStream = getResources().openRawResource(R.raw.key);</div></div><div><br /></div><div>I have checked the bundle identifiers and none of the lines on the java jdk tab in the ouya panel are grayed out. I have pondered redefining the sdk path, but am not sure where to define it to.&nbsp;</div><div><br /></div><div>Now, if anyone knows what I am doing wrong, I would appreciate any help, because I am at my wits end.&nbsp;</div><div><br /></div><div>Please, please help me!</div>]]></description>
   </item>
   <item>
      <title>Controller Input?</title>
      <link>http://forums.ouya.tv/discussion/2317/controller-input</link>
      <pubDate>Fri, 02 Aug 2013 01:52:08 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>UnisonGames</dc:creator>
      <guid isPermaLink="false">2317@/discussions</guid>
      <description><![CDATA[Can someone direct me to a good video/code example for receiving controller input? I have been trying many different ways for about a week and nothing is working for me.&nbsp;]]></description>
   </item>
   <item>
      <title>Error Message:  Package Permissions Are Invalid</title>
      <link>http://forums.ouya.tv/discussion/2312/error-message-package-permissions-are-invalid</link>
      <pubDate>Thu, 01 Aug 2013 16:02:06 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>DariusSlayer</dc:creator>
      <guid isPermaLink="false">2312@/discussions</guid>
      <description><![CDATA[So, I got this error message when I tried to upload the .apk file under the Developer menu, in order to send it in to submission: &nbsp;<div><br /></div><div>Apk error: Apk error: package permissions are invalid</div><div><br /></div><div>Any idea of how to fix this?</div>]]></description>
   </item>
   <item>
      <title>NGUI Menu Input - new UIButtonKeys.cs!</title>
      <link>http://forums.ouya.tv/discussion/512/ngui-menu-input-new-uibuttonkeys-cs</link>
      <pubDate>Tue, 22 Jan 2013 23:27:10 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>Xaak</dc:creator>
      <guid isPermaLink="false">512@/discussions</guid>
      <description><![CDATA[NGUI's built-in UIButtonKeys doesn't work on the OUYA console itself, so here's one that works on the console:<br /><a rel="nofollow" href="http://pastebin.com/B32435Z0">OuyaUIButtonKeys.cs</a><br /><br />You'll also need to edit NGUI's UICamera.cs, as <a rel="nofollow" href="http://www.tasharen.com/forum/index.php?topic=2088.0">by default it will ignore everything but touch</a> on Android. In UICamera.cs:642, find:<br />
<pre>if (Application.platform == RuntimePlatform.Android ||
	Application.platform == RuntimePlatform.IPhonePlayer)
{
	useMouse = false;
	useTouch = true;
	useKeyboard = false;
	useController = false;
}</pre>
<br />And change it to:<br />
<pre>if (//Application.platform == RuntimePlatform.Android ||
	Application.platform == RuntimePlatform.IPhonePlayer)
{
	useMouse = false;
	useTouch = true;
	useKeyboard = false;
	useController = false;
}</pre><br />And there you have it! Controller input for buttons on the OUYA =] They'll also respond to the mouse cursor, which you can control via the touch pad.<br />]]></description>
   </item>
   <item>
      <title>Unity 3D Purchase Code Snippet</title>
      <link>http://forums.ouya.tv/discussion/2301/unity-3d-purchase-code-snippet</link>
      <pubDate>Wed, 31 Jul 2013 15:56:53 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>digadesign</dc:creator>
      <guid isPermaLink="false">2301@/discussions</guid>
      <description><![CDATA[Hi<br /><br />I am having a lot of problems figuring out how to code the Purchase button in my game. I usually use JavaScript but can use C# and was wondering if there was a snippet for this somewhere. Everything was going pretty smoothly and I feel like I hit a brick wall when it comes to this.<div><br /></div><div>Also, how can I differentiate in my code if the game is full or demo, this way I can disable some of the levels ... etc. I think this is how its done, but correct me if I am wrong.</div><div><br /></div><div>Appreciate any guidance in this issue.</div><div><br /></div><div>Thanks,</div><div>Chris</div>]]></description>
   </item>
   <item>
      <title>IAPs - receiving receipts on my own dev account test purchases</title>
      <link>http://forums.ouya.tv/discussion/2294/iaps-receiving-receipts-on-my-own-dev-account-test-purchases</link>
      <pubDate>Tue, 30 Jul 2013 23:46:35 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>tdprogramming</dc:creator>
      <guid isPermaLink="false">2294@/discussions</guid>
      <description><![CDATA[Good evening/morning. Firstly, I'm sorry if this has been asked already. I've done some searches but not found anything.<div><br /></div><div>I'm just submitting a game now. When testing the single IAP I have (an entitlement that just upgrades to all levels unlocked) I've had success processing a test payment for the SKU. However I also have a "Restore previous purchases" button which gets a list of receipts and in the complete handler for that does this:</div><div><br /></div><div>







<p>public void OuyaGetReceiptsOnSuccess(List&lt;OuyaSDK.Receipt&gt; receipts)</p><p>&nbsp;{</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; m_receipts.Clear();</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; foreach (OuyaSDK.Receipt receipt in receipts)</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; {</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_receipts.Add(receipt);</p>
<p>			</p>
<p>			if (receipt.getIdentifier() == m_products[0].getIdentifier())</p>
<p>			{</p>
<p>				// Only 1 product so we're unlocked</p>
<p>//... code to unlock full game goes here.</p>
<p>				purchaseStatus = PURCHASE_COMPLETE;</p>
<p>			}</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; }</p>
<p>		</p>
<p>		if (purchaseStatus != PURCHASE_COMPLETE)</p>
<p>		{</p>
<p>			if (m_receipts.Count == 0)</p>
<p>			{</p>
<p>				myErrorString = "No receipts in array";</p>
<p>			}</p>
<p>			else</p>
<p>			{</p>
<p>				myErrorString = m_receipts[0].getIdentifier() + ", " + m_products[0].getIdentifier();</p>
<p>			}</p>
<p>			purchaseStatus = ERROR;	</p>
<p>		}</p>
<p>&nbsp; &nbsp; }</p><p><br /></p><p><br /></p><p><br /></p><p>As you can see it's based on the IAP example from the ouya package. However, even when this function is called indicating a success, there are never any receipts in the list, even if I have already purchased the upgrade,</p><p>I was wondering if this is because the purchases are test purchases on my own account so won't generate receipts on the system? If this is the case then how should we test such restore functionality? I've submitted the game based on the above assumption, will hold back from publishing and fix if that's not the case.</p><p>Secondly, if someone tries to buy an entitlement a second time, will the Ouya system charge them again, or does it pick up that you've already bought this item (as with the Apple IAP system) and refuse to charge you again?&nbsp;</p><p>Many thanks for your help.</p><p><br /></p><p>Tim</p><p><br /></p></div>]]></description>
   </item>
   <item>
      <title>Performance drops over time on OUYA, not in unity (60 fps -&gt; 15fps)</title>
      <link>http://forums.ouya.tv/discussion/1832/performance-drops-over-time-on-ouya-not-in-unity-60-fps-15fps</link>
      <pubDate>Sun, 30 Jun 2013 17:27:45 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>rhellik</dc:creator>
      <guid isPermaLink="false">1832@/discussions</guid>
      <description><![CDATA[<p>Hi, I have a problem with our game. I've started developing it with unity 3.5 and now after I received my OUYA switched to unity 4.1.</p><p>My problem now is after I tweaked many things to get more performance, the frame rate just steadily drop without anything happening really. It's a dual-stick spaceshooter so yes there's usually lots of meshes, shots and particles but I tuned those down a lot.</p><p>When I start a level I have about 60 fps and for testing I now have only two enemies spawning and you own ship. After a while (this varies from try to try) it jsut steadily drops down to 20 or even 15 fps and I have no idea why. I'm just flying around and not shooting or anything.</p><p>I tried several things but I don't really know how to go on about testing it.<br />What kind of info would you guys need to help me or give me pointers where to look?<br />I have some particle system in the background but they are disabled for now. The player ship has an engine particle system. There's a background image that's not moving atm. I don't know what else to try....<br />I only get these performance drops on the OUYA.<br /></p>]]></description>
   </item>
   <item>
      <title>Maintaining a vanilla Android project alongside an Ouya project</title>
      <link>http://forums.ouya.tv/discussion/2295/maintaining-a-vanilla-android-project-alongside-an-ouya-project</link>
      <pubDate>Wed, 31 Jul 2013 00:38:57 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>tdprogramming</dc:creator>
      <guid isPermaLink="false">2295@/discussions</guid>
      <description><![CDATA[Is there any simple way to keep one project for my game and build for "standard" Android smartphones as well as Ouya? Or will an Ouya APK also work on platforms like the Google play store?]]></description>
   </item>
   <item>
      <title>OUYA Developer ID?</title>
      <link>http://forums.ouya.tv/discussion/1458/ouya-developer-id</link>
      <pubDate>Thu, 30 May 2013 16:37:29 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>LostAeon</dc:creator>
      <guid isPermaLink="false">1458@/discussions</guid>
      <description><![CDATA[Ok , So I might be a little slow but where do I find my OUYA Dev ID?&nbsp;]]></description>
   </item>
   <item>
      <title>Unity Gun Prefab Code Messedup</title>
      <link>http://forums.ouya.tv/discussion/2293/unity-gun-prefab-code-messedup</link>
      <pubDate>Tue, 30 Jul 2013 22:11:41 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>Mrlilkato</dc:creator>
      <guid isPermaLink="false">2293@/discussions</guid>
      <description><![CDATA[I made a Error on some code and i cant figure it out any help it makes the RT Shoot The Bullet. The Error is PrefabShooting.js(14,1): BCE0044: expecting EOF, found '}'.<br />_______________________________________________________________________________<br />//Simple prefab shooting script<br />#pragma strict<br />var theBullet : Rigidbody;<br />var Speed = 20;<br /><br />function Update () {<br />&nbsp;&nbsp;&nbsp; if (OuyaExampleCommon.GetButton(OuyaSDK.KeyEnum.BUTTON_RT, OuyaExampleCommon.Player(0))<br />&nbsp;&nbsp;&nbsp; )<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var clone = Instantiate(theBullet, transform.position, transform.rotation);<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; clone.velocity = transform.TransformDirection(Vector3(0, 0, Speed));<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Destroy (clone.gameObject, 3);<br />&nbsp;&nbsp;&nbsp; }<br />}<br /><br />]]></description>
   </item>
   <item>
      <title>My Controller isnt recognized</title>
      <link>http://forums.ouya.tv/discussion/2280/my-controller-isnt-recognized</link>
      <pubDate>Tue, 30 Jul 2013 06:23:18 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>mattehr</dc:creator>
      <guid isPermaLink="false">2280@/discussions</guid>
      <description><![CDATA[So the docs say if I have a controller that isn't recognized I should post on the forums.<br /><br />Its a usb adapter for a playstation 2 controller. Have been using it for years. Unity itself recognizes it through Input.GetButton(), but through OuyaInputManager.GetButton() i get nothin.<br /><br />In OuyaExampleCommon line 600 the joystick name is reported as: "PS to USB convert cable". I'd add a mapping for it but I really don't want to edit the plugin code.<br /><br />Anyways I'm more worried that I'm missing something on ouya input handling.. I would have expected the OuyaINputManager to map my generic buttons to known ouya button codes. Maybe I don't get it..<br />]]></description>
   </item>
   <item>
      <title>Mac Driver Set up</title>
      <link>http://forums.ouya.tv/discussion/2259/mac-driver-set-up</link>
      <pubDate>Mon, 29 Jul 2013 05:39:22 +0000</pubDate>
      <category>Unity on OUYA</category>
      <dc:creator>Mrlilkato</dc:creator>
      <guid isPermaLink="false">2259@/discussions</guid>
      <description><![CDATA[Hello i can not get my drivers set up for the mac any help?<br />]]></description>
   </item>
   </channel>
</rss>
