PlayCanvas Editor Feedback

Hey, I want to ask if anything has been changed lately in editor/engine,
all projects in editor seem to freeze up my lap, it was all great a week ago

instrument.ts:129 Cannot find reference particlesystem:animNumAnimations
(anonymous) @ instrument.ts:129
(anonymous) @ attributes-reference.js:20
e.call @ editor.js:29
addAttribute @ attributes.js:139
(anonymous) @ attributes.js:37
e @ attributes.js:36
t @ particlesystem.js:357
(anonymous) @ entity.js:185
o @ entity.js:179
(anonymous) @ attributes-entity.js:168
(anonymous) @ observer.js:1
emit @ observer.js:1
(anonymous) @ first-load.js:4
sentryWrapped @ helpers.ts:87
instrument.ts:129 Cannot find reference particlesystem:animIndex
(anonymous) @ instrument.ts:129
(anonymous) @ attributes-reference.js:20
e.call @ editor.js:29
addAttribute @ attributes.js:139
(anonymous) @ attributes.js:37
e @ attributes.js:36
t @ particlesystem.js:357
(anonymous) @ entity.js:185
o @ entity.js:179
(anonymous) @ attributes-entity.js:168
(anonymous) @ observer.js:1
emit @ observer.js:1
(anonymous) @ first-load.js:4
sentryWrapped @ helpers.ts:87
instrument.ts:129 Cannot find reference particlesystem:randomizeAnimIndex
(anonymous) @ instrument.ts:129
(anonymous) @ attributes-reference.js:20
e.call @ editor.js:29
addAttribute @ attributes.js:139
(anonymous) @ attributes.js:37
e @ attributes.js:36
t @ particlesystem.js:357
(anonymous) @ entity.js:185
o @ entity.js:179
(anonymous) @ attributes-entity.js:168
(anonymous) @ observer.js:1
emit @ observer.js:1
(anonymous) @ first-load.js:4
sentryWrapped @ helpers.ts:87
instrument.ts:129 Cannot find reference particlesystem:animStartFrame
(anonymous) @ instrument.ts:129
(anonymous) @ attributes-reference.js:20
e.call @ editor.js:29
addAttribute @ attributes.js:139
(anonymous) @ attributes.js:37
e @ attributes.js:36
t @ particlesystem.js:357
(anonymous) @ entity.js:185
o @ entity.js:179
(anonymous) @ attributes-entity.js:168
(anonymous) @ observer.js:1
emit @ observer.js:1
(anonymous) @ first-load.js:4
sentryWrapped @ helpers.ts:87
instrument.ts:129 Cannot find reference settings:useLegacyAudio
(anonymous) @ instrument.ts:129
(anonymous) @ attributes-reference.js:20
e.call @ editor.js:29
addAttribute @ attributes.js:139
(anonymous) @ attributes.js:37
e @ attributes.js:36
e @ base.js:21
t @ audio.js:19
(anonymous) @ settings.js:125
i @ settings.js:118
(anonymous) @ settings.js:15
(anonymous) @ observer.js:1
emit @ observer.js:1
(anonymous) @ first-load.js:4
sentryWrapped @ helpers.ts:87
instrument.ts:129 Cannot find reference asset:materials:useSheen
(anonymous) @ instrument.ts:129
(anonymous) @ attributes-reference.js:20
e.call @ editor.js:29
addAttribute @ attributes.js:139
(anonymous) @ attributes.js:37
e @ attributes.js:36
d @ material.js:497
(anonymous) @ asset.js:302
s @ asset.js:298
(anonymous) @ attributes-asset.js:18
(anonymous) @ observer.js:1
emit @ observer.js:1
(anonymous) @ first-load.js:4
sentryWrapped @ helpers.ts:87
instrument.ts:129 Cannot find reference asset:material:sheenVertexColor
(anonymous) @ instrument.ts:129
(anonymous) @ attributes-reference.js:20
e.call @ editor.js:29
addAttribute @ attributes.js:139
(anonymous) @ attributes.js:37
e @ attributes.js:36
d @ material.js:497
(anonymous) @ asset.js:302
s @ asset.js:298
(anonymous) @ attributes-asset.js:18
(anonymous) @ observer.js:1
emit @ observer.js:1
(anonymous) @ first-load.js:4
sentryWrapped @ helpers.ts:87
instrument.ts:129 Cannot find reference asset:material:sheenTint
(anonymous) @ instrument.ts:129
(anonymous) @ attributes-reference.js:20
e.call @ editor.js:29
addAttribute @ attributes.js:139
(anonymous) @ attributes.js:37
e @ attributes.js:36
d @ material.js:497
(anonymous) @ asset.js:302
s @ asset.js:298
(anonymous) @ attributes-asset.js:18
(anonymous) @ observer.js:1
emit @ observer.js:1
(anonymous) @ first-load.js:4
sentryWrapped @ helpers.ts:87
1483337:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
instrument.ts:129 relay server connected
instrument.ts:129 messenger connected
captureconsole.ts:73 Failed to link shader program. Error: 
(anonymous) @ captureconsole.ts:73
(anonymous) @ instrument.ts:129
postLink @ playcanvas-1.56.0.js:15573
setShader @ playcanvas-1.56.0.js:17868
renderForwardInternal @ playcanvas-1.56.0.js:24520
renderForward @ playcanvas-1.56.0.js:24651
renderRenderAction @ playcanvas-1.56.0.js:25115
renderPassRenderActions @ playcanvas-1.56.0.js:25051
(anonymous) @ playcanvas-1.56.0.js:24985
render @ playcanvas-1.56.0.js:22061
render @ playcanvas-1.56.0.js:27517
renderComposition @ playcanvas-1.56.0.js:33265
render @ material-thumbnail-renderer.js:278
(anonymous) @ material-thumbnail-renderer.js:163
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
queueRender @ material-thumbnail-renderer.js:162
_renderCanvasThumbnail @ element-asset-thumbnail.js:193
_renderCanvasThumbnailWhenReady @ element-asset-thumbnail.js:152
_onChange @ element-asset-thumbnail.js:324
_updateValue @ element-asset-thumbnail.js:261
set value @ element-asset-thumbnail.js:381
_updateElement @ pcui.js:1
link @ pcui.js:1
link @ pcui.js:1
link @ element-asset-input.js:278
_linkArrayElement @ pcui.js:1
_updateValues @ pcui.js:1
set value @ pcui.js:1
_updateElement @ pcui.js:1
link @ pcui.js:1
link @ pcui.js:1
link @ pcui.js:1
_linkObservers @ attributes.js:267
link @ attributes.js:277
link @ render.js:426
link @ entity.js:595
(anonymous) @ attributes-entity.js:205
emit @ observer.js:1
(anonymous) @ attributes-panel.js:1892
emit @ observer.js:1
(anonymous) @ selector.js:81
emit @ observer.js:1
(anonymous) @ editor-api.js:1
sentryWrapped @ helpers.ts:87
setTimeout (async)
(anonymous) @ trycatch.ts:119
_deferChangeEvt @ editor-api.js:1
(anonymous) @ editor-api.js:1
wrapAction @ editor-api.js:1
add @ editor-api.js:1
(anonymous) @ selector.js:167
e.call @ editor.js:29
_onSelectEntityItem @ entities-treeview.js:158
emit @ observer.js:1
_onChildSelected @ pcui.js:1
set selected @ pcui.js:1
_selectSingleItem @ pcui.js:1
_onChildClick @ pcui.js:1
_onContentClick @ pcui.js:1
sentryWrapped @ helpers.ts:87
1483337:1 WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
instrument.ts:129 Browser was idle for about 123.248 seconds...
captureconsole.ts:73 Failed to compile vertex shader:

null
1:	
2:	attribute vec2 vertex_position;
3:	
4:	varying vec2 vUv0;
5:	
6:	void main(void)
7:	{
8:	    gl_Position = vec4(vertex_position, 0.5, 1.0);
9:	    vUv0 = vertex_position.xy*0.5+0.5;
10:	}
11:	

(anonymous) @ captureconsole.ts:73
(anonymous) @ instrument.ts:129
_isCompiled @ playcanvas-1.56.0.js:15623
postLink @ playcanvas-1.56.0.js:15568
setShader @ playcanvas-1.56.0.js:17868
drawQuadWithShader @ playcanvas-1.56.0.js:6151
onPostRender @ viewport-outline.js:234
renderRenderAction @ playcanvas-1.56.0.js:25137
renderPassRenderActions @ playcanvas-1.56.0.js:25051
(anonymous) @ playcanvas-1.56.0.js:24985
render @ playcanvas-1.56.0.js:22061
render @ playcanvas-1.56.0.js:27517
renderComposition @ playcanvas-1.56.0.js:33265
(anonymous) @ viewport-outline.js:375
emit @ observer.js:1
(anonymous) @ viewport-application.js:100
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
requestAnimationFrame (async)
(anonymous) @ trycatch.ts:129
(anonymous) @ viewport-application.js:85
sentryWrapped @ helpers.ts:87
captureconsole.ts:73 Failed to compile vertex shader:

null
1:	
2:	attribute vec2 vertex_position;
3:	
4:	varying vec2 vUv0;
5:	
6:	void main(void)
7:	{
8:	    gl_Position = vec4(vertex_position, 0.5, 1.0);
9:	    vUv0 = vertex_position.xy*0.5+0.5;
10:	}
11:	

Thanks

We did update the Editor to use Engine 1.56 on Thursday.

Would you be able to share the project that is giving you this error please? I can’t reproduce locally.

Also, what is your hardware spec?

For the short term try using Firefox

Dumb question from me, have you tried restarting your PC?

Every PlayCanvas project is causing same issue, before I was using Chrome all the time, thought graphic drivers got auto-updated, reinstallation/installing older version haven’t helped/made things worse

Firefox did solved this actaully :face_with_raised_eyebrow:
Using an old laptop with Intel HD 3000

Chrome:

× This browser supports WebGL 2, but it is disabled or unavailable.

Firefox

What CPU is it? Exact model number please? We did have an issue on the Discord where their 12 yo laptop also crashes when using Chrome and our Editor since 1.56 update.

Can you try

https://playcanvas.com/editor/scene/1364403?use_local_engine=https://code.playcanvas.com/playcanvas-1.55.1.js

and

https://playcanvas.com/editor/scene/1364403

And tell us which one works for you?

1.55.1 Does work fine on Chrome
Fiksavimas

Not sure if this would help, but sometimes (1 out of 10) editor throws this
Fiksavimas

Thanks for the information. It looks like it is related to the issue that a user reported on Discord where older hardware crashes the browser since 1.56 release :thinking:

Our issue is that we can’t reproduce this locally unless we get our hands on old hardware or have some hardware lying around :frowning:

For the short term, please continue to use Firefox.

Added to ticket: Opening a scene freezes PC and resets it with engine 1.56 · Issue #881 · playcanvas/editor · GitHub

Is there anything else I could do? Error logs, tests, etc?
Hello Firefox :nerd_face:

console.log after launching editor
if that helps
Fiksavimas

Warning: D3D shader compilation failed with prefer flow control flags. (ps_3_0)

Failed to create D3D Shaders

Not right now as I can’t provide a version for you do tests with just yet but the error logs you are providing are a HUGE help, thank you

@Newbie_Coder Can you try using Chrome Canary please Chrome Canary features for developers – Google Chrome

Chrome Canary is a separate install and includes some of latest code changes for Chrome (think of it like a preview preview release of Chrome).

I just want to try to isolate if it’s related to a recent Chrome update

Can you also try https://playcanvas.com/editor/scene/1364403?use_local_engine=https://code.playcanvas.com/playcanvas-1.55.0.js with normal Chrome please as well?

‘Normal’ Chrome fails on 1.55.0 as well, other Chromium-based browsers such as Brave, is failing with the new engine too

Canary - same results as normal Chrome

Note: Using default Microsoft’s basic graphics adapter driver instead of Intel HD 3000 (9.17.10.4459) solves freezing/crashes but gives a very low fps (0-5) in editor/live build

Also, seems like freezing/crashing is happening due to repetative function beeing executed as it eats up all the CPU usage and RAM usage is increasing too, no way a a blank project could eat up 8GB of memory

Thanks, that helps a lot as the Editor works for you in 1.55.1 but not 1.55.0 which narrows it down a lot.

Just looking at that Lenovo 4243PK4 - that seems to be a ThinkPad T520 from 2011. It seems many of them had nvidia card as well instead of just the intel - any chance you’d have that too?

Hi, just single - Intel

Just a little update on the topic above, freshly installed Win 7 (drivers from manufacturer website) works fine with editor/engine, seems like these issues were related to drivers, as windows 10 tends to force install ‘latest’ drivers which may not be fully compatible with older devices

3 Likes

Please for the love of everything that exists, make F2 the rename key like every other app in existence. Thank you so much.

Hi @tuf and welcome,

It works already for entities in the hierarchy, select an entity and press F2. The name field will go into edit mode.

If you’re talking about assets then yes, it doesn’t work there. There is an open feature request here: