title: Windows Azure and Unity3d
body: <p>Been interested in Unity3d for certain projects for some time now, and decided to bite the bullet! I started toying around, and fancied the idea of running Unity3d in windows azure.</p>
  
  <p>However, despite my efforts, I was unable to get this running!</p>
  
  <p>Here is what I have tried so far:</p>
  
  <p>Including the Deployment Output from unity directly with my deployment to azure. While it is probably to keep the unity3d file in blob storage in azure, this was just for testing purposes.</p>
  
  <p>I have included the mime type to allow iis to use the unity file (via the web.config): 
  Code:  </p>
  
  <pre><code>&lt;staticContent&gt;
        &lt;mimeMap fileExtension=".unity3d" mimeType="application/vnd.unity"/&gt;
      &lt;/staticContent&gt;
  </code></pre>
  
  <p>Lastly, I have included the UnityWebPlayer.exe file, and added a Startup task to install the UnityWebPlayer on the server. Also here another best practice would be to download the file instead, as it would be the latest version, but again, only for testing at the moment . My service definition of the start up is below:</p>
  
  <p>Code:  </p>
  
  <pre><code>&lt;Startup&gt;
      &lt;Task commandLine="UnityWebPlayer.exe /S" executionContext="elevated" taskType="simple" /&gt;
      &lt;/Startup&gt;
  </code></pre>
  
  <p>I am curious to reach out to the community to see if anyone else has had any success getting their games to the cloud with windows azure?</p>
  
  <p>EDIT:</p>
  
  <p>I should add then when trying to deploy such a web role, the role is stuck cycling and never deploys. Thanks!</p>