Unity Error: Instance of GridPaintingState couldn’t be created. The the script class needs to derive from ScriptableObject

At the moment I’m adding AdMob, which I also have some problems with, but I think it’s worth dealing with this problem first.

Console

I’ve been trying to add various packages to an empty Unity project for a while now, and every time I add them to the project, I get the same errors in the console. They don’t seem to affect anything, but I’m afraid that if I skip them, they will snowball in the middle of the development process.

Here is what is displayed in the console.

Instance of GridPaintingState couldn’t be created. The the script class needs to derive from ScriptableObject.
0x00007ff7d0d4229d (Unity) StackWalker::GetCurrentCallstack
0x00007ff7d0d47249 (Unity) StackWalker::ShowCallstack
0x00007ff7d1d133a1 (Unity) GetStacktrace
0x00007ff7d23d4c02 (Unity) DebugStringToFile
0x00007ff7d0bf72b4 (Unity) ManagedMonoBehaviourRef::IsManagedClassCompatible
0x00007ff7d0cddb29 (Unity) SerializableManagedRef::SetClass
0x00007ff7d0c35a6e (Unity) Scripting::CreateScriptableObjectWithType
0x00007ff7cfc59c5b (Unity) ScriptableObject_CUSTOM_CreateScriptableObjectInstanceFromType
0x000001e2c8682c9c (Mono JIT Code) (wrapper managed-to-native) UnityEngine.ScriptableObject:CreateScriptableObjectInstanceFromType (System.Type,bool)
0x000001e2c8682b03 (Mono JIT Code) UnityEngine.ScriptableObject:CreateInstance (System.Type)
0x000001e2c868299b (Mono JIT Code) UnityEngine.ScriptableObject:CreateInstance<T_REF> ()
0x000001e2c8679e5b (Mono JIT Code) UnityEditor.ScriptableSingleton1<T_REF>:CreateAndLoad () 0x000001e2c8679ae3 (Mono JIT Code) UnityEditor.ScriptableSingleton1<T_REF>:get_instance ()
0x000001e2c867948b (Mono JIT Code) UnityEditor.Tilemaps.GridPaintingState:get_savingPalette () (at ./Library/PackageCache/[email protected]/Editor/GridPaintingState.cs:643)
0x000001e2c8678f23 (Mono JIT Code) UnityEditor.Tilemaps.GridPaintPaletteClipboard/PaletteAssetModificationProcessor:SavePalettesIfRequired (string[]) (at ./Library/PackageCache/[email protected]/Editor/GridPaintPaletteClipboard.cs:1523)
0x000001e2c8678bfb (Mono JIT Code) UnityEditor.Tilemaps.GridPaintPaletteClipboard/PaletteAssetModificationProcessor:OnWillSaveAssets (string[]) (at ./Library/PackageCache/[email protected]/Editor/GridPaintPaletteClipboard.cs:1517)
0x000001e2c8678e19 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_object_object (object,intptr,intptr,intptr)
0x00007ffbe320e0d4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffbe314eb74 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007ffbe31557bf (mono-2.0-bdwgc) mono_runtime_try_invoke_array (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:5768)
0x00007ffbe308ced0 (mono-2.0-bdwgc) ves_icall_InternalInvoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/icall.c:4041)
0x00007ffbe30b16c1 (mono-2.0-bdwgc) ves_icall_InternalInvoke_raw (at C:/build/output/Unity-Technologies/mono/mono/metadata/icall-def.h:692)
0x000001e2c8678a32 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo:InternalInvoke (System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
0x000001e2c86751b3 (Mono JIT Code) System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
0x000001e2c8674c1f (Mono JIT Code) System.Reflection.MethodBase:Invoke (object,object[])
0x000001e2c8666d83 (Mono JIT Code) UnityEditor.AssetModificationProcessorInternal:OnWillSaveAssets (string[],string[]&,string[]&,bool)
0x000001e2c8667a07 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_object_intptr&_intptr&_byte (object,intptr,intptr,intptr)
0x00007ffbe320e0d4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffbe314eb74 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007ffbe314ed0c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff7d0c59724 (Unity) scripting_method_invoke
0x00007ff7d0c37944 (Unity) ScriptingInvocation::Invoke
0x00007ff7d0c32595 (Unity) ScriptingInvocation::Invoke
0x00007ff7d0d84271 (Unity) Scripting::UnityEditor::AssetModificationProcessorInternalProxy::OnWillSaveAssets
0x00007ff7d1ff0593 (Unity) AssetModificationCallbacks::ShouldSaveSingleFile
0x00007ff7d200a103 (Unity) WriteYamlString
0x00007ff7d200991f (Unity) WriteTextMetaFile
0x00007ff7d209baee (Unity) WriteImportSettingsIfDirtyV2
0x00007ff7d2090010 (Unity) RefreshInternalV2
0x00007ff7d2097e9f (Unity) StopAssetImportingV2Internal
0x00007ff7d20919ac (Unity) RefreshV2
0x00007ff7d2005f30 (Unity) AssetDatabase::Refresh
0x00007ff7d1768043 (Unity) ImportPackageAssets
0x00007ff7d1782903 (Unity) TickPackageImport
0x00007ff7d18a5d59 (Unity) Application::TickTimer
0x00007ff7d1d19cda (Unity) MainMessageLoop
0x00007ff7d1d1f540 (Unity) WinMain
0x00007ff7d3108bae (Unity) __scrt_common_main_seh
0x00007ffc66fe7344 (KERNEL32) BaseThreadInitThunk
0x00007ffc6781cc91 (ntdll) RtlUserThreadStart

New contributor

Ruslan Titarenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật