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

Question My Unity Project works fine in editor but crash in windows build

Discussion in 'Windows' started by unity_dTx067zsJw8eAA, Jun 12, 2023.

  1. unity_dTx067zsJw8eAA

    unity_dTx067zsJw8eAA

    Joined:
    Sep 16, 2020
    Posts:
    3
    Hello, first post here. Need some help with my project crashes.
    I'm using 2022.2.9 of Unity , made an application using 3D,UI interface, osc , NDI plugin and video.
    render with URP.
    My project works fine and no error show up in editor console , but it crashed mutiple times in standalone build.
    I tried to build in devlopment mode to see if I could catch some error, but there's none.
    I also tried to read through player log and crash log or dmp file,but I'm imcapable of understand these files.
    and I tested my project multiple times with different result: two days is the longest time it survived, couple minutes is the shortest.
    some log files and dmp files are in the attached file.
    really need help cause I couldn't fine the problem.Thank You.
     

    Attached Files:

    Last edited: Jun 12, 2023
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,521
    Looks like a crash when deleting/destroying some texture. That's all I can tell from the dump file. Are there any hints in the log file?
     
  3. unity_dTx067zsJw8eAA

    unity_dTx067zsJw8eAA

    Joined:
    Sep 16, 2020
    Posts:
    3
    thank you for the reply!
    there were different result in the log when crashed
    one is "access invalid adress" and the other is about video render texture
    Also in the attached files.
    there are two related functions I can think of, which are video render texture and texture changing of a UI raw image object
     

    Attached Files:

  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,521
  5. unity_dTx067zsJw8eAA

    unity_dTx067zsJw8eAA

    Joined:
    Sep 16, 2020
    Posts:
    3
    I Update my Unity, my project seems fine till now!
    Thank you ! I think the problem is solved.
    I'll keep testing to see if there's any problem.