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

unity crashes when using time node for anything

Discussion in 'Editor & General Support' started by marly101, Feb 13, 2021.

  1. marly101

    marly101

    Joined:
    Sep 26, 2020
    Posts:
    3
    whenever i maximize my shader graph window unity immediately crashes the error log is "Failed to present D3D11 swapchain due to device reset/removed.This error can happen if you draw or dispatch very expensive workloads to the GPU, which can cause Windows to detect a GPU Timeout and reset the device. (see https://docs.microsoft.com/en-us/windows-hardware/drivers/display/timeout-detection-and-recovery).If you believe this error is due to built-in Unity functionality, please submit a bug.This is an unrecoverable error and the editor will shut down."

    it makes working with unity impossible and i couldn't get any work done in the last two days so help will be more than appreciated.

    it only happens to me with one shader i'm working but i can't understand why it is because i
    don't know a thing about how shaders are working and also i don't see why it would make any problems because right now it is actually just from a tutorial
     
    Last edited: Feb 13, 2021
  2. marly101

    marly101

    Joined:
    Sep 26, 2020
    Posts:
    3
    ok im pretty sure i found the problem but it makes no sense, the problem is multiplying the time(the first one in the time node) variable with anything it doesn't make any sense since i know it should be possible and it is in the tutorial i watched.
     
  3. marly101

    marly101

    Joined:
    Sep 26, 2020
    Posts:
    3
    also i just found out that the time is actually useless(at least in my case) if you do anything with it: add, multiply, subtract, etc... it just crashes the unity editor