Comments (10)
@alffanclub Just FYI I've figured out what the actual problem was - it was just that I was running a slightly older version of Visual Studio which doesn't support asmdefs. Once I updated Visual Studio to the latest version everything is fine. Confirmed this with someone else in the forums mentioning the same thing
from assetbundles-browser.
I was able to fix this error message on my project by opening ProjectName.sln in notepad and deleting the duplicate entries at the top.
from assetbundles-browser.
Thanks for all the details. Yeah, asmdef files work in mysterious ways that I also don't fully understand :)
I'll test a few different versions of 17.3. If it's isolated to 0f3, we may be ok, but if it's broken for all of 17.3, I may need to diverge the browser development. Hmm.
Well, thanks again. I'm glad you've got a good workaround, and hopefully I can land on a more permanent fix that doesn't cause people too much grief.
from assetbundles-browser.
None of these worked. After updating VS to the latest version I had to delete all the .csproj files and the .sln from the project, then it rebuilt and worked.
from assetbundles-browser.
@arvz what version of Unity are you using? We added .asmdef files to the project, but I believe there may be some versions of Unity that have issues creating the VS projects when those are present. As a workaround for now, you can probably delete "Editor/com.unity.assetbundlebrowser.Editor.asmdef" and "Tests/Editor/com.unity.assetbundlebrowser.EditorTests.asmdef".
Please let me know which version you're running, and if deleting the asmdef's fixed it.
Thanks for letting us know about this issue,
Bill
from assetbundles-browser.
@alffanclub I'm using Unity 2017.3.0f3, If I delete the 2 .asmdef files, this happens when I open the browser:
But it's an easy enough fix: Deleting Line 5 of AssetBundleBrowserMain.cs:
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("com.unity.assetbundlebrowser.EditorTests")]
Makes it work properly now.
But I am noticing something strange. After I deleted that line I opened the browser - which is working now - but then I added the line back, recompiled and tried the browser again, and it's still working. I even tried deleting and re-adding the folder back into the project and the browser still works even without having touched that line. I guess .asmdef files work in mysterious ways I don't quite understand
from assetbundles-browser.
Hello, I have approximately the same error when opening a CSharp file from Unity into VS
The Unity version is 2018.2 Beta 5
I don't know what to do, IntelliSense doesn't work as it should
from assetbundles-browser.
HI. I reinstalled completely updated Visual Studio, and it worked
from assetbundles-browser.
Hey ! I had the same issue and updated my Visual Studio Community to the newest version and it worked.
from assetbundles-browser.
Unity 2018.2 had very similar issue right after upgrading from 2018.1
Solved: Updated Visual Studio 2017 community to V.15.7.6 (previously had V.15.3.x). Thanks for the tips guys!
That's why I don't like upgrades.... (aren't those to have fewer bugs, not more??)
from assetbundles-browser.
Related Issues (20)
- How to resolve is auto included in multiple bundles HOT 7
- Standard Compression (LZMA) cannot display any component if used UI_Default shader
- Asset Details Panel: String too long for TextMeshGenerator. Cutting off characters. HOT 1
- Cannot see AssetBundles from packages folders (PackageManager)
- Want to show dependencies for individual assets in a column of Config
- Release v1.8.0 on Package Manager
- Streaming asset path
- Asset sizes should be shown as imported sizes, not on-disk sizes
- How to share AssetBundleBrowser settings with git? HOT 3
- [New Feature]SBP support HOT 2
- No way to sort assets by type HOT 2
- Not able to build asset bundle for Standalone OSX Intel or Standalone OSX 64
- Merge different manifest files into one main platform manifest file HOT 2
- error dependecy with SpriteAtlas
- Assets in embedded packages are not visible
- Is this project abandoned? HOT 3
- 【AD. Repo Share】Enhance Repo,Support Huge Project, etc
- [help]Hollolens2 single eye bug
- NavMesh Issue while Loading Assets into Game [Android] HOT 1
- How to trigger build bundles from code?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assetbundles-browser.