#GetSingleton() requires that exactly one entity exists that matches this query, but there are 0.

1 messages · Page 1 of 1 (latest)

last wave
#

I posted this question on the Unity forum 3 days ago and received some invalid replies because my sample code was too simple, leading to misunderstandings.
I've edited the code and added some images to my question, and I think I can get more efficient help if I ask for help here too.
https://forum.unity.com/threads/getsingleton-requires-that-exactly-one-entity-exists-that-matches-this-query-but-there-are-0.1472070/

scarlet helmBOT
#
Posting code

📃 Large Code Blocks
Large code blocks should be posted as links to services like:
https://gdl.space/, https://paste.ofcode.org/, https://hatebin.com/
https://paste.myst.rs/, https://hastebin.com/

📃 Inline Code
Surround code with three backquotes. Not quotation marks.
To get C# formatting the first line should only contain cs or csharp.
Add a comment with a line number if there is an error message.
```cs
// Your code here
```
Do not share screenshots of code unless requested.

novel spear
#

Just add in OnCreate RequierForUpdate<EnemyOne>

#

Subscenep load async