Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on compile in Unity 4.6.3 #38

Closed
DavidENishball opened this issue Apr 24, 2015 · 2 comments
Closed

Errors on compile in Unity 4.6.3 #38

DavidENishball opened this issue Apr 24, 2015 · 2 comments

Comments

@DavidENishball
Copy link

I am attempting to use fullserializer for my unity 4.6.3 project. However, I get the following errors when attempting to build.
http://puu.sh/hpHKW/b277078a90.png

fsEnumConverter.cs(39,52) Type 'StringBuilder' does not contain a definition for 'Append'
fsEnumConverter.cs(41,32) Type 'StringBuilder' does not contain a definition for 'Append'
fsJsonParser.cs(251,85): Type 'StringBuilder' does not contain a constructor that takes '1' argument.

This appears to be due to Unity using an older equivalent version of .Net, one without the extra methods and constructors for StringBuilder class. I am wondering how you managed to work around this problem?

@jacobdufault
Copy link
Owner

Wow, how strange. Can you please verify that there is not another class in your project called StringBuilder? What .NET profile setting are you on?

@DavidENishball
Copy link
Author

Ah, you are right. There was a custom StringBuilder class from an early version of the project. Renaming it fixed the errors. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants