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

Question Fatal error when build a UWP project

Discussion in 'Windows' started by Max_Thitikorn, Jun 8, 2023.

  1. Max_Thitikorn

    Max_Thitikorn

    Joined:
    Jun 7, 2023
    Posts:
    3
    Hi everyone, I just get an fatal error while I building my UWP project. It seems this issue happens only on my laptop, because I can build my project on my PC and my friend's laptop without any errors.

    This is the error details.
    image.png
    image (1).png

    And this is the return of building progress when it fails.
    image (2).png
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,498
    If it happens only on your laptop, and the same project works everywhere else, it could be that the Unity installation on your laptop is corrupted. System.Xml.dll is part of Unity's installation and something goes wrong when reading it. Perhaps try reinstalling Unity?
     
  3. Max_Thitikorn

    Max_Thitikorn

    Joined:
    Jun 7, 2023
    Posts:
    3
    Yes, I tried to reinstall Unity already, and this error still remains. Later, I tried to build a blank project on a standalone platform, and it built normally without error (I don't know if standalone uses System.Xml.dll like UWP or not).
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,498
    It should use the same one. Do you have any .dll files in your project itself?
     
  5. Max_Thitikorn

    Max_Thitikorn

    Joined:
    Jun 7, 2023
    Posts:
    3
    Yes, I have check for .dll files in project library folder and there are many .dll file in it. But, I try to search for System.Xml.dll and it not found in project library folder.