Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

unity 5.3 universal apps windows 10

Discussion in 'Windows' started by lich2king, Jan 21, 2016.

  1. lich2king

    lich2king

    Joined:
    Nov 7, 2012
    Posts:
    6
    Hello,
    My game has a bug only after I submit it to the store, in visual studio the bug doesn't reproduce. Also I can't run the game in visual studio if I check compile with .net native tool chain (probably something gets buggy with my game with native compile). If I run the game in visual studio with .net native tool chain I get a crash like this:
    "Unable to debug .NET native compilation code. Error initializing debugging services for symbol file ... Catastrophic failure"
    Without the .net native tool chain, the game runs fine and without any bugs. If I could debug or see logs to the game I could see what breaks it but I'm stuck.
    Any ideas ?
    Thanks.
     
    Last edited: Jan 21, 2016
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,663
  3. lich2king

    lich2king

    Joined:
    Nov 7, 2012
    Posts:
    6
    I have VS community 2015 update 1
     
  4. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,637
    Do you get such error even if you enable .NET Native in Debug mode?
    Also, you haven't said what the actual bug is.
     
  5. lich2king

    lich2king

    Joined:
    Nov 7, 2012
    Posts:
    6
    Yes, I've also tried in debug mode to run .NET Native and it still gives me the error.
    I will build another project and see if I get the same error.
    The bug in-game is that I'm not loading the scene objects. I'm loading the scene from a custom editor that makes a .txt file and then I parse it in game to load objects and all. Something isn't working in that parsing.
    I've used this asset to build levels in a custom game editor: https://www.assetstore.unity3d.com/en/#!/content/21765
    Also the terrain is procedural.
     
  6. lich2king

    lich2king

    Joined:
    Nov 7, 2012
    Posts:
    6
    I've test the .NET Native in a new and empty project and it works. Looks like it's because of my game project that I get the error.
     
  7. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,637
    Well, we certainly can't tell what's going wrong without know what exactly doesn't work and how.
    Try inserting some logging into code that fails and see what behaves differently with and without .NET Native.
     
  8. lich2king

    lich2king

    Joined:
    Nov 7, 2012
    Posts:
    6
    it looks like .net native gave me that crash because I had a space in game name, probably the path to the pdb isn't working with a space in it
    I can debug the game now. thanks
     
    Last edited: Jan 22, 2016
    OktHugo likes this.
  9. OktHugo

    OktHugo

    Joined:
    Dec 3, 2015
    Posts:
    3
    Thanks lich2king. Still can't believe it, but solved! Saved my day, the space on the name was the problem.
     
  10. Vardan-Meliksetyan

    Vardan-Meliksetyan

    Joined:
    Oct 24, 2013
    Posts:
    39
    The declared package dependency does not exist. Dependency: Microsoft.NET.CoreRuntime.1.0. Minimum version: 1.0.23430.0. Please upload the .appxupload file generated by Visual Studio for the Store. < a href='http://go.microsoft.com/fwlink/?LinkId=620193' target='_blank'> Learn more

    We build it, it was very hard , but after upload into store we get this error. Who have like this problem?
     
  11. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,504
    When you create AppX package and it asks you whether you want to create a package for the store, you must select "Yes".
     
  12. Vardan-Meliksetyan

    Vardan-Meliksetyan

    Joined:
    Oct 24, 2013
    Posts:
    39
  13. Vardan-Meliksetyan

    Vardan-Meliksetyan

    Joined:
    Oct 24, 2013
    Posts:
    39
    We haven't any problem with Windows 8.1. Problems started when we imported project into UWP.
     
  14. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,504
    At what point you get that error you posted above? Make sure that you upload the right app package - it should work.
     
  15. Vardan-Meliksetyan

    Vardan-Meliksetyan

    Joined:
    Oct 24, 2013
    Posts:
    39
    Thank you, we solved problem and we published.
     
  16. Retruate

    Retruate

    Joined:
    Jul 5, 2014
    Posts:
    111
    Could you explain how you solved the problem? I seem to be getting the same problem and I don't know how to fix it.
     
  17. EvalDaemon

    EvalDaemon

    Joined:
    Aug 8, 2013
    Posts:
    107
    Oh hell no, I would have never figured that out! THANK YOU!

    Retronomics hopefully you figured it out by now, but for anyone else. What they are talking about is in Player Settings "Product Name" can't have any spaces. Or you can probably change the Project name in VS when building master.