Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Burst compiler will be available for Nintendo Switch?

Discussion in 'Burst' started by Smalfy, Aug 10, 2018.

  1. Smalfy

    Smalfy

    Joined:
    Jan 21, 2017
    Posts:
    5
    Do you know if/when the Burst compiler will be available for Nintendo Switch?
    Thanks in advance
     
    JesseSTG likes this.
  2. JesseSTG

    JesseSTG

    Joined:
    Jan 10, 2019
    Posts:
    236
    Any word? I need to know this for a pitch I'm writing.
     
  3. julian-moschuering

    julian-moschuering

    Joined:
    Apr 15, 2014
    Posts:
    529
    Last word was 'scheduled for the 2019.3 beta and later versions', not sure if they will hit it. As far as I know it is still missing.
     
  4. funselektor

    funselektor

    Joined:
    Oct 11, 2013
    Posts:
    105
    +1 I just found out it doesn't compile for Switch yesterday so this would save me a lot of pain.
     
  5. Nyanpas

    Nyanpas

    Joined:
    Dec 29, 2016
    Posts:
    406
    I am also incredibly interested in this for my own project(s).
     
  6. JesseSTG

    JesseSTG

    Joined:
    Jan 10, 2019
    Posts:
    236
    What's your source for this? Not doubting you but I need something authoritative to cite.
     
  7. julian-moschuering

    julian-moschuering

    Joined:
    Apr 15, 2014
    Posts:
    529
    Dev in Nintendo Developer Forum. If you have access just search for 'burst'.
     
  8. JesseSTG

    JesseSTG

    Joined:
    Jan 10, 2019
    Posts:
    236
    I do not, but thank you. Is there anything more specific you can share or subtly intimate about this?
     
  9. Lee_Hammerton

    Lee_Hammerton

    Unity Technologies

    Joined:
    Jul 26, 2018
    Posts:
    118
    Burst 1.2.0-preview's and beyond - along with 2019.3-betas and beyond should already contain support for building for Switch.
     
  10. JesseSTG

    JesseSTG

    Joined:
    Jan 10, 2019
    Posts:
    236
    Thank you, this is exactly what I need to know.
     
    Nyanpas and Lee_Hammerton like this.
  11. VoxelNation

    VoxelNation

    Joined:
    Jun 5, 2019
    Posts:
    10
    Hi, how can I get my hands on Burst 1.2.0-preview? I've upgraded my project to 2019.3 beta, but I can only see versions 1.1.2 and 1.1.1 in package manager. I tried manually modifying the manifest file, putting latest 1.2.0-preview.9 version in, but it resulted in an error.
     
  12. tim_jones

    tim_jones

    Unity Technologies

    Joined:
    May 2, 2019
    Posts:
    287
    In Package Manager, click the Advanced button, then toggle on "Show preview packages".

    Modifying manifest.json manually should also work, I'm not sure why that didn't. What was the error?
     

    Attached Files:

  13. VoxelNation

    VoxelNation

    Joined:
    Jun 5, 2019
    Posts:
    10
    I do have "Show preview packages" ticked, I can see other preview packages. After modifying the manifest I get this error:

    An error occurred while resolving packages:
    Project has invalid dependencies:
    com.unity.burst: Package [com.unity.burst@1.2.0-preview.9] cannot be foundA re-import of the project may be required to fix the issue or a manual modification of C:/Users/mateo/Documents/carnage2 - Copy/Packages/manifest.json file.

    burst1.png burst2.png
     
  14. tim_jones

    tim_jones

    Unity Technologies

    Joined:
    May 2, 2019
    Posts:
    287
    Hmm, that should work. Please could you paste the contents of your manifest.json here?
     
  15. VoxelNation

    VoxelNation

    Joined:
    Jun 5, 2019
    Posts:
    10
  16. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,749
    VoxelNation likes this.
  17. tim_jones

    tim_jones

    Unity Technologies

    Joined:
    May 2, 2019
    Posts:
    287
    I see the problem - you're using the staging registry, which is now obsolete and no longer updated. Please could you remove this line and see if it works:

    "registry": "https://staging-packages.unity.com",
     
    VoxelNation likes this.
  18. VoxelNation

    VoxelNation

    Joined:
    Jun 5, 2019
    Posts:
    10
    That did the trick, thank you very much!
     
  19. VoxelNation

    VoxelNation

    Joined:
    Jun 5, 2019
    Posts:
    10
    Not sure if this is the place to do it or if its worthy of another thread, but the project fails to build now, throwing these exceptions:
    https://slack-files.com/T939VF6G1-FQS24CZC7-fba9800d67

    The same project builds and runs perfectly fine on 2018LTS, is there anything in those exceptions that could suggest what the issue might be? I'm using the Nintendo release of version 2019.3.0b10.
     
  20. tim_jones

    tim_jones

    Unity Technologies

    Joined:
    May 2, 2019
    Posts:
    287
    I would create a new thread - those look like IL2CPP errors, and mentioning that in the thread title will probably get you some help quicker :)
     
    VoxelNation likes this.