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

Bug Addressables - DeferredCompleteCallbacks concurrent race-condition bug

Discussion in 'Addressables' started by nik_d, Feb 6, 2021.

  1. nik_d

    nik_d

    Joined:
    Apr 27, 2018
    Posts:
    66
    Deepscorn and KyleOlsen like this.
  2. nik_d

    nik_d

    Joined:
    Apr 27, 2018
    Posts:
    66
    Or possibly it's my fault - to think I can implement ResourceProvider in a real async manner.((
    Just about everything in unity is main-threaded and AsyncOperation of WebRequest looks the same.

    In such case the bug is better to transform to the "feature request" - to Assert (in debug only) public api methods that are not thread-safe.
    * It'll give a better understanding of what is really allowed.
    * It'll safe people starting to use Tasks without looking at SynchronizationContext and ContinueWith such public calls.