Comments (13)
Are you compiling with the complete .NET profile and not subset?
from giles.
Yes using .Net 2.0 and not the subset. I even reInstalled the final release of Unity 5.5 the error is still the same. Also tried changing the project settings in Visual Studio to .Net 4.0 the error remains.
Additionally I'm using unity3d 64bit on Windows10. Also tried the above in Unity 5.4 beta release on the Linux editor the error is the same.
from giles.
The same problem. I tried to add:
using System.Runtime.CompilerServices.DynamicAttribute;
But I get the error:
Assets/GILES/Code/Classes/Serialization/Converters/pb_ObjectContainerConverter.cs(5,39): error CS0234: The type or namespace name DynamicAttribute' does not exist in the namespace
System.Runtime.CompilerServices'. Are you missing an assembly reference?
from giles.
What platform are you targeting?
from giles.
Now, PC, 64bit on Windows10, but later I would like to use it on mobile too.
from giles.
Looking at the code again I think you could safely just comment out then entirety of pb_ObjectContainerConverter
.
from giles.
I have commented out all the code in the file. No errors and I can run the project, but I'm not sure if it won't prevent me from suing serialisation.
from giles.
If I recall correctly that path was never actually used - I abandoned it for some reason, or at the least didn't find time to finish it. So you should be able to serialize and deserialize without issue.
from giles.
Ok, thank you.
from giles.
Hello!
.NET 2.0 native not support DynamicAttribute, so download this beta Unity build with .NET 4.6. For me is working!
from giles.
I'm confused, what's the exact solution here? I never had an issue using the dynamic keyword with .net 2.0 or .net 2.0 subset until recent 5.X releases, so why is a basic variable type suddenly breaking Unity and looking for a class from 4.6?
from giles.
I'm running into this issue as well, with Unity 5.6.0f3, under both .NET 2.0 and .NET 2.0 Subset.
from giles.
The only thing that worked for me was replacing dynamic with object, and that's only because I'm a weird case with an xml reader that reads variable types as attributes and puts them into a dictionary. In most cases, I would think dynamic and object are fairly different.
from giles.
Related Issues (20)
- [Feature] allow overriding engine class names in the inspector
- Huge File Sizes HOT 8
- Touch input HOT 3
- Unity 5.4.0 beta API update causing error
- OutOfMemory error while saving HOT 6
- ObjectRaycast distance algorithm does not scale back
- preview prefabs in the Resource Browser window
- InvalidOperationException: Current error context error is different to requested error. HOT 4
- UnassignedReferenceException when Child objects have components with unassigned Transform HOT 1
- Some shaders are missing.
- Non-uniform scale should be the exception rather than the rule
- Textures missing
- What about AssetBundle?
- [Features]What I wont to add until the end of 2020. HOT 9
- I want to use timeline in giles
- Is GILES still there on Asset store?
- Unsupported code HOT 3
- Use Giles in my project HOT 1
- Really cool project, only one question
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 giles.