11,000 種類を超える 5 つ星アセット
8.5 万人以上の顧客による評価
10 万人を超えるフォーラムメンバーが支持
すべてのアセットを Unity が審査済み
32件のうち 1 - 10を表示中
ユーザーレビュー
表示順
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
高品質なアセット
11,000 種類を超える 5 つ星アセット
信頼がある
8.5 万人以上の顧客による評価
コミュニティが支持
10 万人以上のフォーラムメンバーが支持
言語選択
Copyright © 2026 Unity Technologies
全ての表示価格には消費税は含まれていません