Unity scripts created with Copilot in Visual Studio are placed under "Timeline" assembly instead of correct assembly #174324
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Copilot Feature Area
Visual Studio
Body
Hi,
I’m experiencing a consistent issue when using GitHub Copilot with Visual Studio for Unity development. Whenever I generate a new C# script using Copilot in Agent Mode, the script is placed in the correct folder in my Unity project, but Visual Studio assigns it to the Timeline assembly instead of the expected assembly definition.
This causes a lot of compiler errors and makes the generated script essentially unusable until I manually move or fix the assembly references. Because of this, Copilot in Visual Studio becomes very difficult to use for Unity projects.
Steps to reproduce:
Open a Unity project in Visual Studio with GitHub Copilot enabled.
Use Copilot (Agent Mode) to create a new script.
Observe that the script is created in the correct folder, but it appears under the Timeline assembly instead of the project’s main assembly.
Expected behavior:
Scripts generated by Copilot should be placed under the correct Unity assembly (e.g., Assembly-CSharp or the appropriate .asmdef) instead of being forced into the Timeline assembly.
Actual behavior:
Scripts are consistently created under the Timeline assembly, which results in numerous compilation issues.
Environment:
IDE: Visual Studio (latest version)
Copilot: Enabled with Agent Mode
Unity: 6
OS: Windows 11
Impact:
This breaks the workflow for Unity developers, since Copilot-generated scripts cannot be used without manual fixes.
thanks !
Beta Was this translation helpful? Give feedback.
All reactions