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. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

MagicaVoxel Tools

Discussion in 'Assets and Asset Store' started by bocs, Oct 18, 2018.

  1. bocs

    bocs

    Joined:
    May 9, 2009
    Posts:
    406
    Yes, but Unity Editor only, all the source and shaders are included.
     
  2. Silenius_

    Silenius_

    Joined:
    Oct 23, 2017
    Posts:
    14
    Hey, I tried to use the free version but it says .vox file is invalid for all my files. I'm using the latest MagicaVoxel version: 0.99.6.4

    I want to buy the premium version if this problem can be solved.
     
  3. bocs

    bocs

    Joined:
    May 9, 2009
    Posts:
    406
    I just tested the Free and Paid version with a 0.99.6.4 vox file, and no issues.
    upload_2021-11-14_6-55-20.png


    If you can send or attach a .vox file that doesn't work , I'll take a look.
    *support@bocs.site
     
  4. Circlenumber

    Circlenumber

    Joined:
    Aug 5, 2013
    Posts:
    23
    Not have tools 02.JPG Not have tools.JPG
    Why not have "Tools" in manu bar? I use unity 2020.3.24f1.
     
    Last edited: Dec 8, 2021
  5. Circlenumber

    Circlenumber

    Joined:
    Aug 5, 2013
    Posts:
    23
    2-0.JPG Now I can open with old vertion 2017.But Why I manual import same Color Palette in Unity is not the same with magiga.
     
  6. bocs

    bocs

    Joined:
    May 9, 2009
    Posts:
    406
    Works fine with 2020.3.24f1, when you import the asset you have to let Unity update it by clicking "I made a backup, go Ahead"

    upload_2021-12-9_9-18-52.png


    I'll check the palette issue out and get back to you.
     
    Circlenumber likes this.
  7. Circlenumber

    Circlenumber

    Joined:
    Aug 5, 2013
    Posts:
    23
    Thank you.
     
    Last edited: Dec 10, 2021
  8. na1-0a

    na1-0a

    Joined:
    Feb 25, 2018
    Posts:
    3
    Hello! Can you kindly update asset to work with latest versions of MagicaVoxel 0.99.7.0 beta or 0.99.6.4?
    And please fix some obsolete code for Unity version 2021.3.10f1, this warning messages a little annoying

    Bought your wonderful asset a few days ago and meet some problems when exporting my .vox files into Unity with MagicaVoxel 0.99.7.0 beta and select in project window. It can't read files. There is error message "invalid vox file"
    And the error code from console:

    FormatException: Input string was not in a correct format.
    System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
    System.Number.ParseSingle (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
    System.Single.Parse (System.String s) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
    MagicaVoxelTools.MagicaVoxel.ProcessChunk (System.String type, System.Byte[] data) (at Assets/MagicaVoxel Tools/Editor/MagicaVoxel.cs:326)
    MagicaVoxelTools.MagicaVoxel.LoadFile (System.String fileName) (at Assets/MagicaVoxel Tools/Editor/MagicaVoxel.cs:112)
    MagicaVoxelTools.MagicaVoxelImporterEditor.OnEnable () (at Assets/MagicaVoxel Tools/Editor/MagicaVoxelImporterEditor.cs:177)

    PS tested it with:
    MagicaVoxel 0.99.7.0 beta - not working
    MagicaVoxel 0.99.6.4 - not working
    MagicaVoxel-0.99.4.2-alpha-win64 - not working

    MagicaVoxel-0.98.2-win - working well
     
    Last edited: Nov 19, 2022
  9. bocs

    bocs

    Joined:
    May 9, 2009
    Posts:
    406
    I'll take a look, didn't know it didn't work with newer versions, guessing they slightly changed the file format.


    EDIT:
    I just created a .vox from MagicaVoxel 0.99.7.0 beta and it worked.

    Can you contact me and send a file that is not working so I can see what is going on.
    email: support@bocs.site
     
    Last edited: Nov 19, 2022
  10. na1-0a

    na1-0a

    Joined:
    Feb 25, 2018
    Posts:
    3
    Thank you for response. Mail with file was sent! Title is "MagicaVoxel Tools request"
     
  11. bocs

    bocs

    Joined:
    May 9, 2009
    Posts:
    406
    I was working with na1-0a and found an issue with local floating point phrasing in the code.
    ie...some countries use say "1.35" and other "1,35"...causing the format error

    Please only use this fix for Version 1.6.1....only if you have the issue!!!

    It will be included in Version 1.7+

    Again, please contact support@bocs.site for any issues and before you post a review
    I will fix it :)
     

    Attached Files:

  12. na1-0a

    na1-0a

    Joined:
    Feb 25, 2018
    Posts:
    3
    really fast and helpful hotfix from bocs, thanks a lot! Looking forward to 1.7+ =)