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's version control component has been upgraded to Plastic SCM.

How can assets have different sizes on different machines?

Discussion in 'Unity Collaborate' started by a0100101, Oct 3, 2018.

  1. a0100101

    a0100101

    Joined:
    Feb 9, 2014
    Posts:
    15
    Hello I am having a strange problem using unity collaborate.
    I am using it for sharing a project between 2 computers ( I am the only one who is working on this project, both computers are mine).
    The problem is that each time I upload the project from the machine A and download it back on the machine B
    my assets turn out to have different sizes even if their scale and pixel per unit are set correctly.


    You can see better what I mean by looking at these images. As you can see the triangle sprite is smaller that its collider, but in the same scene on the other machine the sprite has the same size of the collider.
    What am I doing wrong?

    Thank you for the help.
     
    Last edited: Oct 3, 2018
  2. Kyuugatsu

    Kyuugatsu

    Unity Technologies

    Joined:
    Jan 11, 2014
    Posts:
    32
    Hi Nove0,

    Could you reupload one of those screenshots? It's not appearing.
     
  3. a0100101

    a0100101

    Joined:
    Feb 9, 2014
    Posts:
    15
    yes sorry

    here It is:

    in the first image you can see that the collider match the sprite(triangle) boundaries (computer A)
    I do a commit form the computer A and then update the project on the computer B:


    And as you can see in the second image the sprite is smaller and it does not match the collider.

    I have tried to delete the project on the pc B and download it back as a new one but this hasn't fix the problem.

    If I swap the PCs (I commit from B and update the project on A) the sprite (assuming on B it was of the right size) becomes bigger. This is driving me crazy because I have to spend time fixing it each time I change pc.

    Useful notes:
    Pixel per unit and scale do not change.
    This triangle is not a .png image but is a vector image,could this cause any problem?
    This problem happens with every sprite in the scene
     
    Last edited: Oct 3, 2018
  4. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hey @Nove0! That is really weird and should definitely be looked at. Would you mind submitting a bug report with your project, along with these screenshots, using Unity's Bug Reporter? That can help us pinpoint where the problem is. Thank you!
     
  5. a0100101

    a0100101

    Joined:
    Feb 9, 2014
    Posts:
    15
    no problem, I will do it as soon as I return home.
    from which PC should I submit the bug report? should I submit 2 of them? (one for each PC)
     
  6. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    You could submit a bug report from both and reference the bug number from your first report when you submit the other one. You should receive an email a few minutes after you send your first bug report that'll include your bug tracking number. Copy and paste it into your second report and that will help us keep the two cases together. Thank you.