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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

About Symbol file generation in GDK

Discussion in 'Windows' started by hoget7, May 12, 2021.

  1. hoget7

    hoget7

    Joined:
    Sep 13, 2019
    Posts:
    6
    Currently, I am creating a game using the Microsoft GDK Unity plugin.

    When ScriptingBackend is built with mono, the Symbol file to be uploaded to the partner center is not generated, but it is generated with IL2CPP.

    How can I build with mono to generate a Symbol file?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,506
    Which symbol file are you talking about?
     
  3. hoget7

    hoget7

    Joined:
    Sep 13, 2019
    Posts:
    6
    Symbol file to upload to Microsoft Partner Center package
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,506
    I mean for which binary?
     
  5. hoget7

    hoget7

    Joined:
    Sep 13, 2019
    Posts:
    6
    https://docs.microsoft.com/en-us/windows/msix/package/packaging-uwp-apps
    This is about misx packaging in Visual Stadio, but about the symbol file created when the package is generated.

    When building using the Microsoft GDK Unity plugin provided by Microsoft, mono does not generate a zip of the symbol file, and IL2CPP generates a zip of the symbol file.

    Can you figure out why mono doesn't generate a symbol file (zip)?
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,506
    On Windows, symbol files are using PDB format, not zip. If you're looking for a zip file, it likely contains several PDB files. I suggest looking inside the one generated from IL2CPP build to see which binaries they correspond to.

    We ship PDBs in <EditorInstallDir>\Data\PlaybackEngines\WindowsStandaloneSupport\Variations\<Variation> next to the binaries they correspond to. We copy the PDB files to the output directory if "Copy PDB files" checkbox is checked in build settings.

    Now, I don't exactly know how you're packing your app so I don't know why there's a difference between IL2CPP and Mono. The link you pasted outlines the process for UWP apps, rather than Windows Standalone. Are you still following the same steps?
     
  7. hoget7

    hoget7

    Joined:
    Sep 13, 2019
    Posts:
    6
    It is a problem that the symbol file cannot be generated by mono, but it was generated when I checked the check box that I was told.

    It seems that the problem was that the PDB was not generated.

    I was able to solve the problem here.
    Thank you very much.