평점 만점의 리뷰가 11,000개 이상
8만 5천명 이상의 리뷰
10만명 이상의 포럼 멤버가 선호하는 에셋
유니티에서 모더레이팅하는 모든 에셋
1 - 10 / 32개 표시
사용자 리뷰
정렬 기준
Im on Unity 2019 but when I install the asset and add the line "using YamlDotNet.Serialization;" it says "The type or namespace name 'YamlDotNet' could not be found (are you missing a using directive or an assembly reference?)"...
이 리뷰가 도움이 되었나요?
0
2
퍼블리셔 답변:
2 years ago에 답변됨
It seems like Unity or the asset store has changed how they work. When I try this with 2019, I still get packages that were loaded with versions that are older. This is an error on Unity's side, because I have the compatible package uploaded with unity 2019, it's just not getting downloaded.
What you can do to get the old version, that is compatible with 2019, is to add this to your manifest.json
"scopedRegistries": [
{
"name": "Rain Office",
"url": "https://office.rain-games.com:4873",
"scopes": [
"yamldotnet"
]
}
],
The package manager should then suggest the 6.1.2 version to you.
But this package doesn't have examples, and it isn't referenced by the default assembly, so you will have to manually reference 'YamlDotNet.asmdef' to be able to use it. You can probably steal examples from the new package (on asset store, or downloaded with newer 2020.3 Unity).
I hope that helps.. at least in theory you should be able to work around the asset store and use YamlDotNet with 2019 this way.
V
Easy integration
2 years ago
VenetianFox이전 버전 12.3.1
Managing the DLLs of external C# libraries is too much of a pain, and this integrates nicely for me needs to parse YAML files.
이 리뷰가 도움이 되었나요?
0
0
w
Analysis of Unity Component
2 years ago
wechat_os_Qy0zSBKZexetyZxGOtkqNCdjc이전 버전 12.3.1
Has the author considered providing parsing for Unity Component, such as serializing Transform, just like *. prefab in Unity, users can also read yaml in *. prefab to deserialize it into Transform
이 리뷰가 도움이 되었나요?
1
0
퍼블리셔 답변:
2 years ago에 답변됨
This is the last that I heard of it.
https://github.com/aaubry/YamlDotNet/issues/140
So basically... Unity doesn't follow the yaml standard precisely, and accommodating it without breaking the library isn't trivial.
So you will have to prefilter the unity-yaml a bit before you can work with it.
Not very satisfying, I know, but it's the state of YamlDotNet and Unity at the moment.
It complains about "not supporting" certain features of YAML when tried.
이 리뷰가 도움이 되었나요?
0
1
퍼블리셔 답변:
3 years ago에 답변됨
This package is a free convenience version of the YamlDotNet free and open source library. It can do standard YAML, but sadly, Unity has been outputting non-standard YAML lately, and so the library might be insufficient in certain use cases if they involve assets produced by Unity. For that I can only apologize.
First, make sure
YamlDotNet/YamlDotNet.asmdef properties:
"autoReferenced": true
Then check the file ***.asmdef in your Scripts folder the properties:
"references" have the "YamlDotNet"
and "overrideReferences": true
For example in Assets/Scripts/myCode.asmdef
{
"references": [
"GUID:625bfc588fb96c74696858f2c467e978",
"GUID:b1ef917f7a8a86a4eb639ec2352edbf8",
"GUID:18b61dc105331d14c9d7a5ba828092b6",
"GUID:3f8053c1a58fb7f47b2af9d34d2e4b1e",
"YamlDotNet"
],
"overrideReferences": true,
}
이 리뷰가 도움이 되었나요?
2
0
Can not work on Unity2018,2019.
error:
Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
Copyright (C) Microsoft Corporation. All rights reserved.
error CS2007: Unrecognized option: '/nullable:enable'
csc.rsp :-nullable:enable
symbols Not supported
2020 can work
이 리뷰가 도움이 되었나요?
2
0
퍼블리셔 답변:
2 years ago에 답변됨
It seems like Unity or the asset store has changed how they work. When I try this with 2019, I still get packages that were loaded with versions that are older. This is an error on Unity's side, because I have the compatible package uploaded with unity 2019, it's just not getting downloaded.
What you can do to get the old version, that is compatible with 2019, is to add this to your manifest.json
"scopedRegistries": [
{
"name": "Rain Office",
"url": "https://office.rain-games.com:4873",
"scopes": [
"yamldotnet"
]
}
],
The package manager should then suggest the 6.1.2 version to you.
But this package doesn't have examples, and it isn't referenced by the default assembly, so you will have to manually reference 'YamlDotNet.asmdef' to be able to use it. You can probably steal examples from the new package (on asset store, or downloaded with newer 2020.3 Unity).
I hope that helps.. at least in theory you should be able to work around the asset store and use YamlDotNet with 2019 this way.
Unity's JSON library didn't have the functionality I needed for my project, so I gave this library a shot, and it addressed my needs perfectly. I didn't know YAML when I started using it, but now I am a big enthusiast. I have not encountered any issues or bugs with this library.
이 리뷰가 도움이 되었나요?
0
0
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members