What device/platform are you having the problem on?
PC
Were you alone or with other players?
Alone
How often does the issue occur?
Every time
Room Name
^R2_Studio_Test
Subroom Name
BugReport_SpawnEvent
Reproduction Steps
Add a shape (a cube works).
Add a circuit board to the shape.
Edit the circuit board
Add an Event Receiver and select the event “On Object Spawned Or Reset”
To test if it runs or not, add a Log String chip, with the text of your choice.
Add a Replicator
Object to Pool : Select the shape/cube created above.
Change nothing else.
Do the following tests in the same instance :
Test 1:
Run the “Spawn Next Object” Exec input. (I ran it manually by holding left clic on it a few seconds)
Result : The cube is spawned, but the event “On Object Spawned Or Reset” has not fired as expected because the log is empty.
Test 2 :
Run the “Return All Objects” Exec input on the replicator.
Run the “Spawn Next Object” Exec input.
Run the “Spawn Next Object” Exec input again.
Result :
- The first cube is spawned, and the event “On Object Spawned Or Reset” was fired because a new line has been added in the log. My guess is that since the cube has been “recycled”, it was also reset when spawned, so the event fired because of the reset.
- The second cube is spawned, but the event “On Object Spawned Or Reset” has not fired. My guess is that since the 2nd cube is “new”, it was not reset when spawned, so there was not a message .
Description
There is a new event called “On Object Spawned Or Reset” in Rooms 2.0. I assume the “On Spawned” part is related to the replicator.
However the “On Spawned” event doesn’t fire when a brand new copy of an object is spawned with the replicator.
In case you need it, I’ll leave the subroom where I made the test up for a while.