decentraland / sdk

PM repository for SDK
Apache License 2.0
4 stars 4 forks source link

[BUG] SDK7 Please clean up the vast amount of logging during scene preview startup, it is a productivity killer #1013

Open cfravel opened 10 months ago

cfravel commented 10 months ago

The huge number of platform errors and other logging to console during startup create problems for the developer:

1) They obscure scene reporting, and 2) in some cases delay scene startup

THey have been around for a long time, so maybe it is time to quiet them down.

Here are some of the classes of errors logged in the console during scene startup. This was with the default standard scene running on ethereum mainnet with web3 enabled


25 of these

memorysetup-job-temp-allocator-block-size...


14 of these

unity.framework.js?v=1699862766817:10 A scripted object (probably Coffee.UIExtensions.UIParticle?) has a different serialization layout when loading. (Read 32 bytes but expected 140 bytes) Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?


More than 80 of these...

GroupCallEventHandler createGroupCallForRoom() processed room (roomId=!znSUogRXkTMzxsISBB:decentraland.org)


About 19 or so of these, and sometimes these take awhile and can delay scene startup

kernel: Remote avatar for user is invalid. 0xbbe6e9692c0f27d08c1ea577df838bd7c5c9627b


1 of these:

localhost/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received


and then these keep recurring during the scene's session:

Persisting sync data up to s13851918_1090948732_0_1591592_111669471_1_1_27280316_0