Coder Social home page Coder Social logo

Comments (3)

webbertakken avatar webbertakken commented on August 22, 2024

I don't see why anyone would name their project folder something with a tilde in it so I would say this will not be supported behaviour for Unity Actions.

Could you perhaps describe your use case a little further so we can understand what is happening exactly? e.g. do you have a Unity project inside another Unity project or what else is different from a new project that could cause this behaviour?

from unity-test-runner.

jsm174 avatar jsm174 commented on August 22, 2024

I totally agree about naming something with a tilde. The only reason I did that was because our project works as a Unity package. (Window -> Package Manager -> + -> Add Package from Disk)

When Unity opens up the project, it starts compiling code from the package, putting that compiled code under Library and then loops because it sees that the directory refreshed. So as a test, I added the tilde based on https://docs.unity3d.com/Manual/SpecialFolders.html

Anyway, I just made a branch that shows this behavior. I just wanted you to be aware of this issue.

https://github.com/jsm174/vpe_net_standard/tree/testrunner-tilde
https://github.com/jsm174/vpe_net_standard/runs/814149093?check_suite_focus=true

from unity-test-runner.

webbertakken avatar webbertakken commented on August 22, 2024

So it sounds like the package is in fact a unity project, not so much a compiled library or just some files. I don't know much about the correct way of doing this either though.

According the the documentation that you linked, making a folder as hidden or temporary will completely ignore it in Unity. I don't think that would be desired behaviour, so it probably won't be part of any solution. I think the timeout while searching things in a deliberately ignored folder could be seen as expected behaviour that's not unique to Test runner. Ideally Unity itself would give a descriptive warning or error when this happens.

I guess generally I would recommend not nesting unity projects at all, but rather exporting the child projects as packages and import these instead. That should at least solve your problem.

from unity-test-runner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.