[Problem Record] No script asset for ***. Asset file is missing

Possible error:

1. The referenced script (***) on this Behaviour is missing!

(Inheriting MonoBehaviour or ScriptableObject will cause this error)

2. The associated script can not be loaded. Please fix any compile errors and assign a valid script.

3. No script asset for ***. Check that the definition is in a file of the same name and that it compiles properly.

reason:

public class AppConfigSettingData : ScriptableObject
{
}

The AppConfigSettingData class name must have the same name as the C# file AppConfigSettingData.cs. Just modify the cs file name to be consistent with the class name.

おすすめ

転載: blog.csdn.net/qq_39108767/article/details/123852845