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 Warnings from Namespaced Custom Timeline Assets in Asset Bundles

Discussion in 'Timeline' started by unoctium1, Jun 29, 2023.

  1. unoctium1

    unoctium1

    Joined:
    Sep 27, 2018
    Posts:
    4
    Hi,

    I have kind of niche situation in my current project, where we are consuming timeline assets from asset bundles, and both the consuming project and the asset bundle publishing project have a package of custom tracks/clips/playables & markers as a shared dependency. Everything is working fine, but every time a timeline asset is downloaded, we get warnings in the console with the message:
    No script asset for [Custom script name]. Check that the definition is in a file of the same name.
    This is just an issue in the console, the scripts still work as expected, but we're consuming a lot of timelines and the warning popups for every custom clip or marker, so its a bit annoying. Locally created timelines with the custom assets are also unusable, and show missing script assets in the (debug) inspector. I'm pretty sure the issue stems from namespaces on the custom scripts, but changing that would (I believe) require republishing all of our asset bundles which is too much of a burden for the size of the problem. Are there any other solutions for this?

    Thanks!